Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
K
L
M
N
P
R
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
GameDriver
- Class in
<Unnamed>
This app launches our shooter game (which is not really functional at this point).
GameDriver()
- Constructor for class
GameDriver
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.
getColorForIndex(int)
- Static method in class gameComponents.
TargetServices
Returns the colour of the target type with the specified index number.
getColorName(int)
- Static method in class gameComponents.
TargetServices
Returns the text label for the given RGB integer value, if one exists.
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
getNumberOfPossibleTargets()
- Static method in class gameComponents.
TargetServices
Returns the total number of targets defined by this utility class.
getPointsForIndex(int)
- Static method in class gameComponents.
TargetServices
Returns the points value of the target type with the specified index number.
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).
getSizeForIndex(int)
- Static method in class gameComponents.
TargetServices
Returns the size attribute of the target type with the specified index number.
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.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
K
L
M
N
P
R
S
T
U