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

java.lang.Object
  extended by se.liu.student.kimgr905.tilegame.sprites.Sprite
      extended by se.liu.student.kimgr905.tilegame.sprites.Ship
          extended by se.liu.student.kimgr905.tilegame.sprites.Boss
Direct Known Subclasses:
Boss.Boss1

public abstract class Boss
extends Ship

Boss is a abstract class with static subclasses for all the different bosses in the game.


Nested Class Summary
static class Boss.Boss1
          Boss1 Follows the player on the x-axis and also moves up and down.
 
Field Summary
 
Fields inherited from class se.liu.student.kimgr905.tilegame.sprites.Sprite
anim, STATE_DEAD, STATE_EXPLODING, STATE_NORMAL, STATE_SHOOTING
 
Constructor Summary
Boss(Animation normal, Animation exploding)
           
 
Method Summary
 
Methods inherited from class se.liu.student.kimgr905.tilegame.sprites.Ship
changePath, changePath, clone, getHitPoints, hit, isAwake, setHitPoints, setState, shoot, update, wakeUp
 
Methods inherited from class se.liu.student.kimgr905.tilegame.sprites.Sprite
getHeight, getImage, getState, getVelocityX, getVelocityY, getWidth, getX, getY, isAlive, setVelocityX, setVelocityY, setX, setY
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Boss

Boss(Animation normal,
     Animation exploding)