se.liu.student.kimgr905.tilegame.sprites
Class PowerUp.Shield

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

public static final class PowerUp.Shield
extends PowerUp

A Shield PowerUp. Gives the player a shield.


Nested Class Summary
 
Nested classes/interfaces inherited from class se.liu.student.kimgr905.tilegame.sprites.PowerUp
PowerUp.Shield, PowerUp.Weapon
 
Field Summary
 
Fields inherited from class se.liu.student.kimgr905.tilegame.sprites.Sprite
anim, STATE_DEAD, STATE_EXPLODING, STATE_NORMAL, STATE_SHOOTING
 
Constructor Summary
PowerUp.Shield(Animation anim)
          Creates a shield power up with the specied 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
 

Constructor Detail

PowerUp.Shield

public PowerUp.Shield(Animation anim)
Creates a shield power up with the specied animation.

Parameters:
anim - normal animation