gameComponents_LT3
Interface ShooterSprite

All Superinterfaces:
Sprite
All Known Implementing Classes:
BasicTriangleShooter, DoggyShooter

public interface ShooterSprite
extends Sprite


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

moveUp

void moveUp()
Move this sprite up one "vertical unit" (the size of this unit is determined by a class attribute).


moveDown

void moveDown()
Move this sprite down one "vertical unit" (the size of this unit is determined by a class attribute).


moveLeft

void moveLeft()
Move this sprite left one "horizontal unit" (the size of this unit is determined by a class attribute).


moveRight

void moveRight()
Move this sprite right one "horizontal unit" (the size of this unit is determined by a class attribute).


setInitialLocation

void setInitialLocation()
Position this sprite in the initial location.


fire

ProjectileSprite fire()
Method creates a ProjectileSprite located at tip of this shooter.


rotateRight

void rotateRight()
Rotate this sprite one "rotational unit" in a clockwise direction (the size of this unit is determined by a class attribute).


rotateLeft

void rotateLeft()
Rotate this sprite one "rotational unit" in a counterclockwise direction (the size of this unit is determined by a class attribute).