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

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

public static final class Shot.BossCannon
extends Shot

A BossCannon 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.BossCannon(Animation normal)
          Creates a BossCannon 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.BossCannon

public Shot.BossCannon(Animation normal)
Creates a BossCannon shot with the specified animation.

Parameters:
normal - normal animation