A B 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
 
getAngle() - Method in class gameComponents.UtilityCircle
returns the angle of the trajectory that travels through the point
getBounds2D() - Method in class gameComponents.BasicTriangleShooter
 
getBounds2D() - Method in class gameComponents.FroggyShooter
 
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 interface gameComponents.Sprite
This method returns a rectangular box that completely encloses this 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.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.TargetSprite
Accessor for this sprite's current y position
getDiameter() - Method in class gameComponents.UtilityCircle
Returns diameter of this circle
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.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.
getPointOnCircumference() - Method in class gameComponents.UtilityCircle
 
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
 
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.TargetSprite
This method returns the width of the bounding box that contains this sprite.
getXDisplacement() - Method in class gameComponents.UtilityCircle
Returns x displacement of p1, as measured in a horizontal line starting at the vertical line passing through the centre point, of p1
getYDisplacement() - Method in class gameComponents.UtilityCircle
Returns y displacement of p1, as measured in a vertical line starting at the horizontal line passing through the centre point, of p1

A B C D E F G I K L M N P R S T U