|
||||||||||
| 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.Shot
public abstract class Shot
A shot is a Sprite that has one Animation.
| Nested Class Summary | |
|---|---|
static class |
Shot.AimedShot
A AimedShot is a shot with one animation. |
static class |
Shot.BossCannon
A BossCannon is a shot with one animation. |
static class |
Shot.BossLazer
A BossLazer is a shot with one Animation. |
static class |
Shot.DualShot
DualShot is a shot with one animation. |
static class |
Shot.PlayerShot
The Player's shots, has one animation. |
| Field Summary |
|---|
| Fields inherited from class se.liu.student.kimgr905.tilegame.sprites.Sprite |
|---|
anim, STATE_DEAD, STATE_EXPLODING, STATE_NORMAL, STATE_SHOOTING |
| Constructor Summary | |
|---|---|
Shot(Animation anim)
|
|
| 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 |
|---|
Shot(Animation anim)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||