|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.liu.student.kimgr905.tilegame.sprites.Sprite
se.liu.student.kimgr905.tilegame.sprites.PowerUp
se.liu.student.kimgr905.tilegame.sprites.PowerUp.Shield
public static final class PowerUp.Shield
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 |
|---|
public PowerUp.Shield(Animation anim)
anim - normal animation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||