Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

G

GameClock - Class in role
An internal clock that is the heart-beat of the game engine
GameController - Class in role
The game controller defines the logic of the game.
GameController() - Constructor for class role.GameController
No argument constructor creates a controller supporting the default frame rate.
GameController(int) - Constructor for class role.GameController
Constructor for client defined frame rate.
GameController(int, Dimension) - Constructor for class role.GameController
Constructor for client defined frame rate and screen size.
GameEvent - Class in event
Provides a representation for any game event.
GameEvent(GameEvent) - Constructor for class event.GameEvent
Copy constructor
GameEvent(EntityModel, EntityModel) - Constructor for class event.GameEvent
Constructor for an event involving two entities.
GameEvent(EntityModel, EntityModel, String) - Constructor for class event.GameEvent
Constructor for an event involving two entities.
GameException - Exception in event
Class extends Exception.
GameException() - Constructor for exception event.GameException
Constructor for this exception
GameException(String) - Constructor for exception event.GameException
Constructor that takes a retrievable message
GAMELOGGER - Static variable in interface common.Configuration
Logger for the framework
getA() - Method in class common.EntityPair
Fetches one of the items.
getA() - Method in class event.CollisionEvent
Getter the first involved entity.
getActiveKeys() - Method in class event.MultiKeyListener
Returns the list of depressed key events or keyCode 0 if no key is pressed
getAngleWithHorizontal() - Method in class role.BarrierModel
Returns the angle that the barrier makes with the horizontal.
getAnimation() - Method in class view.EntityView
Returns the state of the view iterator
getB() - Method in class common.EntityPair
Fetches the other item.
getB() - Method in class event.CollisionEvent
Getter for the second involved entity.
getBackground() - Method in class role.GameController
 
getBarrier() - Method in class event.BlockedEvent
Getter for the barrier.
getBearingDegrees() - Method in class role.BarrierModel
Returns the angle made by the barrier to the horizontal in degrees.
getBearingDegrees() - Method in class role.EntityModel
Gets the bearing of the entity in degrees.
getBearingRadians() - Method in class role.EntityModel
Returns the bearing of the entity in radians.
getBoundary() - Method in class event.OutOfBoundsEvent
Getter for the boundary crossed
getBounds() - Method in class view.TextView
Returns the dimensions for the rendered text for the font and point size.
getCoefficientOfRestitution() - Method in class role.EntityModel
The Coefficient of Restitution (COR), is the ratio of the final to initial relative velocity between two objects after they collide.
getCollisionBounds() - Method in class role.BarrierModel
 
getCollisionBounds() - Method in class role.EntityModel
Return the current collision bounds for this entity.
getCollisionRange() - Method in class role.BarrierModel
 
getCollisionRange() - Method in class role.EntityModel
Returns a rectangle defining the absolute area of the screen location of the entity.
getColor() - Method in class role.TextModel
Returns the color setting for this text
getColor() - Method in class view.TextView
Returns the color for this rendering
getCount() - Method in class view.BufferedSpriteSheet
The number of sequence frames in this sprite sheet is not auto-magically computed.
getCurrentMethodName() - Static method in class util.Helper
Find the name of the method that invoked this method.
getCurrentState() - Method in class util.FSM
Gives the current state of the FSM.
getDescription() - Method in class event.GameEvent
Getter for the description
getDimension() - Method in class view.EntityView
Returns the dimensions of of the rendered text.
getEdge() - Method in class event.OutOfBoundsEvent
Getter for the edge that has been crossed
getEdge() - Method in class role.ScreenBoundary
Getter for the direction this barrier takes.
getEntity() - Method in class event.BlockedEvent
Getter the first involved entity.
getEntity() - Method in class event.OutOfBoundsEvent
Getter for the entity stepping out of bounds
getFinalStates() - Method in class util.TransitionTable
Returns an array containing the final states for this FSM.
getFont() - Method in class view.TextView
Returns the font in use
getHeight() - Method in class view.EntityView
The height of the scaled visual representation for this entity.
getHeight() - Method in class view.SceneryView
Returns the height of the sprite
getHeight() - Method in class view.SpriteView
 
getHeight() - Method in class view.TextView
 
getHitboxHeight() - Method in class role.EntityModel
Returns the height of the hit-box, the collision bounds for this entity.
getHitboxWidth() - Method in class role.EntityModel
Returns the width of the hit-box, the collision bounds for this entity.
getID() - Method in class role.EntityModel
Returns the ID number of this object.
getImage() - Method in class view.BufferedSpriteSheet
Provides the buffer image.
getInitialState() - Method in class util.TransitionTable
Gets the initial state of this transition table.
getLayer() - Method in class role.EntityModel
Returns the layer defined for this entity for rendering purposes.
getLine() - Method in class role.BarrierModel
Returns the line defining this barrier.
getMass() - Method in class role.EntityModel
Return the mass of the entity.
getName() - Method in class role.EntityModel
The name of the entity can be a unique identifier or a tag.
getP1() - Method in class common.Line
Getter for the P1
getP2() - Method in class common.Line
Getter for the P2
getRotation() - Method in class role.SpriteModel
Returns the rotation angle (Clockwise) set for this view.
getRotation() - Method in class view.SpriteView
Returns the angle of rotation in degrees
getScaleX() - Method in class role.EntityModel
Returns the scale factor along the x-axis.
getScaleX() - Method in class view.EntityView
Getter for horizontal scaling
getScaleY() - Method in class role.EntityModel
Returns the scale factor along the y-axis.
getScaleY() - Method in class view.EntityView
Returns the scale factor along the y axis
getSender() - Method in class event.MessageEvent
Returns the entity that originated this event
getSpeed() - Method in class role.EntityModel
Returns the scalar speed of this entity sqrt(xv^2 + yv^2)
getTimeToLive() - Method in class role.EntityModel
Returns the time-to-live setting of this entity.
getViewPortHeight() - Method in class view.SceneryView
Getter for the height of the view port.
getViewPortWidth() - Method in class view.SceneryView
Getter for the width of the view port.
getWidth() - Method in class view.EntityView
The width of the scaled visual representation for this entity.
getWidth() - Method in class view.SceneryView
Returns the width of the sprite
getWidth() - Method in class view.SpriteView
 
getWidth() - Method in class view.TextView
 
getX() - Method in class common.Point
 
getX() - Method in class role.EntityModel
Returns the x coordinate of the body center of this entity.
getX1() - Method in class common.Line
Getter for the x coordinate of point P1
getX2() - Method in class common.Line
Getter for the x coordinate of point P2
getXAcceleration() - Method in class role.EntityModel
Returns the acceleration along the x axis.
getXLocation() - Method in class role.EntityModel
Returns the x coordinate of the body center of this entity.
getXVelocity() - Method in class role.EntityModel
Returns the x-velocity of the entity
getY() - Method in class common.Point
 
getY() - Method in class role.EntityModel
Returns the y coordinate of the body center of this entity.
getY1() - Method in class common.Line
Getter for the y coordinate of point P1
getY2() - Method in class common.Line
Getter for the y coordinate of point P2
getYAcceleration() - Method in class role.EntityModel
Returns the y component of the entities acceleration.
getYLocation() - Method in class role.EntityModel
Returns the y coordinate of the body center of this entity.
getYVelocity() - Method in class role.EntityModel
Returns the velocity component along the Y axis.
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form