|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShooterSprite
Method Summary | |
---|---|
ProjectileSprite |
fire()
Method creates a ProjectileSprite located at tip of this shooter. |
void |
moveDown()
Move this sprite down one "vertical unit" (the size of this unit is determined by a class attribute). |
void |
moveLeft()
Move this sprite left one "horizontal unit" (the size of this unit is determined by a class attribute). |
void |
moveRight()
Move this sprite right one "horizontal unit" (the size of this unit is determined by a class attribute). |
void |
moveUp()
Move this sprite up one "vertical unit" (the size of this unit is determined by a class attribute). |
void |
rotateLeft()
Rotate this sprite one "rotational unit" in a counterclockwise direction (the size of this unit is determined by a class attribute). |
void |
rotateRight()
Rotate this sprite one "rotational unit" in a clockwise direction (the size of this unit is determined by a class attribute). |
void |
setInitialLocation()
Position this sprite in the initial location. |
Methods inherited from interface gameComponents_LT3.Sprite |
---|
getBounds2D, specifyDrawing |
Method Detail |
---|
void moveUp()
void moveDown()
void moveLeft()
void moveRight()
void setInitialLocation()
ProjectileSprite fire()
void rotateRight()
void rotateLeft()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |