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

java.lang.Object
  extended by se.liu.student.kimgr905.tilegame.sprites.Sprite
      extended by se.liu.student.kimgr905.tilegame.sprites.Shot
          extended by se.liu.student.kimgr905.tilegame.sprites.Shot.DualShot
Enclosing class:
Shot

public static final class Shot.DualShot
extends Shot

DualShot is a shot with one animation.


Nested Class Summary
 
Nested classes/interfaces inherited from class se.liu.student.kimgr905.tilegame.sprites.Shot
Shot.AimedShot, Shot.BossCannon, Shot.BossLazer, Shot.DualShot, Shot.PlayerShot
 
Field Summary
private static float MAX_SPEED
           
 
Fields inherited from class se.liu.student.kimgr905.tilegame.sprites.Sprite
anim, STATE_DEAD, STATE_EXPLODING, STATE_NORMAL, STATE_SHOOTING
 
Constructor Summary
Shot.DualShot(Animation normal)
          DualShot is a shot with one animation.
 
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
 

Field Detail

MAX_SPEED

private static final float MAX_SPEED
See Also:
Constant Field Values
Constructor Detail

Shot.DualShot

public Shot.DualShot(Animation normal)
DualShot is a shot with one animation.

Parameters:
normal - normal animation