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

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.AimedShot
Enclosing class:
Shot

public static final class Shot.AimedShot
extends Shot

A AimedShot 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.AimedShot(Animation normal)
          Creates an AimedShot shot with the specified 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.AimedShot

public Shot.AimedShot(Animation normal)
Creates an AimedShot shot with the specified animation.

Parameters:
normal - normal animation