Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
K
M
N
P
S
T
U
G
GameCanvas
- Class in
gameComponents
This class encapsulates a very simple window in which our shooter game can be shown.
GameCanvas(Dimension, SpriteDataModel)
- Constructor for class gameComponents.
GameCanvas
Construct a game canvas with the passed dimensions
gameComponents
- package gameComponents
getBounds2D()
- Method in class gameComponents.
ProjectileSprite
This method returns a rectangular box that completely encloses this sprite.
getBounds2D()
- Method in class gameComponents.
ScoreTallySprite
This method returns a rectangular box that completely encloses this sprite.
getBounds2D()
- Method in class gameComponents.
ShooterSprite
This method returns a rectangular box that completely encloses this sprite.
getBounds2D()
- Method in interface gameComponents.
Sprite
getBounds2D()
- Method in class gameComponents.
TargetSprite
This method returns a rectangular box that completely encloses this sprite.
getCurrentX()
- Method in class gameComponents.
ProjectileSprite
Accessor for this sprite's current x position
getCurrentX()
- Method in class gameComponents.
ScoreTallySprite
Accessor for this sprite's current x position
getCurrentX()
- Method in class gameComponents.
ShooterSprite
Accessor for this sprite's current x position
getCurrentX()
- Method in class gameComponents.
TargetSprite
Accessor for this sprite's current x position
getCurrentY()
- Method in class gameComponents.
ProjectileSprite
Accessor for this sprite's current y position
getCurrentY()
- Method in class gameComponents.
ScoreTallySprite
Accessor for this sprite's current y position
getCurrentY()
- Method in class gameComponents.
ShooterSprite
Accessor for this sprite's current y position
getCurrentY()
- Method in class gameComponents.
TargetSprite
Accessor for this sprite's current y position
getDimension()
- Method in class gameComponents.
SpriteDataModel
getHeight()
- Method in class gameComponents.
ScoreTallySprite
This method returns the height of the bounding box that contains this sprite
getHeight()
- Method in class gameComponents.
ShooterSprite
This method returns the height of the bounding box that contains this sprite
getHeight()
- Method in class gameComponents.
TargetSprite
This method returns the height of the bounding box that contains this sprite
getPointsValue()
- Method in class gameComponents.
TargetSprite
Returns the points value awards if this target is hit
getShooterSprite()
- Method in class gameComponents.
SpriteDataModel
getShooterTip()
- Method in class gameComponents.
ShooterSprite
Returns the point that corresponds to the tip of this shooter sprite (e.g., the location from which projectiles should be issued).
getSprites()
- Method in class gameComponents.
SpriteDataModel
Return this collection as a List of PolkaDot objects.
getWidth()
- Method in class gameComponents.
ScoreTallySprite
This method returns the width of the bounding box that contains this sprite
getWidth()
- Method in class gameComponents.
ShooterSprite
This method returns the width of the bounding box that contains this sprite
getWidth()
- Method in class gameComponents.
TargetSprite
This method returns the width of the bounding box that contains this sprite
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
K
M
N
P
S
T
U