se.liu.student.kimgr905.tilegame.sprites
Class Shot

java.lang.Object
  extended by se.liu.student.kimgr905.tilegame.sprites.Sprite
      extended by se.liu.student.kimgr905.tilegame.sprites.Shot
Direct Known Subclasses:
Shot.AimedShot, Shot.BossCannon, Shot.BossLazer, Shot.DualShot, Shot.PlayerShot

public abstract class Shot
extends Sprite

A shot is a Sprite that has one Animation.


Nested Class Summary
static class Shot.AimedShot
          A AimedShot is a shot with one animation.
static class Shot.BossCannon
          A BossCannon is a shot with one animation.
static class Shot.BossLazer
          A BossLazer is a shot with one Animation.
static class Shot.DualShot
          DualShot is a shot with one animation.
static class Shot.PlayerShot
          The Player's shots, has one animation.
 
Field Summary
 
Fields inherited from class se.liu.student.kimgr905.tilegame.sprites.Sprite
anim, STATE_DEAD, STATE_EXPLODING, STATE_NORMAL, STATE_SHOOTING
 
Constructor Summary
Shot(Animation anim)
           
 
Method Summary
 
Methods inherited from class se.liu.student.kimgr905.tilegame.sprites.Sprite
clone, getHeight, getImage, getState, getVelocityX, getVelocityY, getWidth, getX, getY, isAlive, setState, setVelocityX, setVelocityY, setX, setY, update
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shot

Shot(Animation anim)