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

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.Weapon
Enclosing class:
PowerUp

public static final class PowerUp.Weapon
extends PowerUp

A Weapon PowerUp. Gives the player a new weapon.


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.Weapon(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.Weapon

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

Parameters:
anim - animation