Skip navigation links
A E F G H I K L M P R S T U V W 

G

getActorAt(int, int) - Method in class mayflower.Stage
Return the Actor on this Stage that is touching (x, y)
getActors() - Method in class mayflower.Stage
Return an array of all the Actors on this Stage
getActorsAt(int, int) - Method in class mayflower.Stage
Return all Actors on this Stage that are touching (x, y)
getBackground() - Method in class mayflower.Stage
Return the background for this Stage
getBackgroundColor() - Method in class mayflower.Stage
Get the current background color
getBounds() - Method in class mayflower.Picture
 
getDistance(int, int, int, int) - Static method in class mayflower.Util
Returns the distance between the two points (x1, y1) and (x2, y2)
getDistanceSquared(int, int, int, int) - Static method in class mayflower.Util
Returns the squared distance between the two points (x1, y1) nad (x2, y2)
getDrawOrder() - Method in class mayflower.Actor
Returns the order this Actor will be drawn to the screen.
getHeight() - Method in class mayflower.Actor
Returns the height of this Actor's picture
getHeight() - Method in class mayflower.Mayflower
Returns the height of the window in pixels
getHeight() - Method in class mayflower.Picture
 
getHeight() - Method in class mayflower.Stage
Return the height of the window
getImage() - Method in class mayflower.Picture
 
getKeyboard() - Method in class mayflower.Actor
Return the Keyboard object This method must be called again every time the update() method is called to get the most recent state of the keyboard.
getKeyboard() - Method in class mayflower.Mayflower
Returns a Keyboard object with the current status of the keyboard since the last call to the update method
getKeyboard() - Method in class mayflower.Stage
Return the Keyboard object
getMayflower() - Method in class mayflower.Actor
Return the Mayflower object
getMayflower() - Method in class mayflower.Stage
Return the Mayflower object
getMouse() - Method in class mayflower.Actor
Return the Mouse object This method must be called again every time the update() method is called to get the most recent state of the mouse.
getMouse() - Method in class mayflower.Mayflower
Returns a Mouse object with the current status of the mouse since the last call to the update method
getMouse() - Method in class mayflower.Stage
Return the Mouse object
getOriginalImage() - Method in class mayflower.Picture
 
getPath() - Method in class mayflower.Picture
 
getPicture() - Method in class mayflower.Actor
Return the Picture assigned to this Actor
getRandomNumber(int, int) - Static method in class mayflower.Util
Returns a random number between low and high, exclusive of high
getRandomNumber(int) - Static method in class mayflower.Util
Returns a random number between 0 and n, excluive of n
getShowBounds() - Method in class mayflower.Stage
Return whether bounding boxes are being shown
getStage() - Method in class mayflower.Actor
Return the Stage that this Actor was added to
getStage() - Method in class mayflower.Mayflower
Returns the active Stage
getTimePassed() - Method in class mayflower.Timer
Get the number of milliseconds that have passed since this Timer was created or reset
getTouching() - Method in class mayflower.Actor
Return an array of Actors that are touching this Actor
getTouching(String) - Method in class mayflower.Actor
Return an array of Actors that are touching this Actor if the Actor were shifted 1 pixel in the specified direction: North, South, East, or West
getTouching(int, int) - Method in class mayflower.Actor
Return an array of Actors that are touching this Actor if the Actor were shifted by the specified offset
getTouchingAtOffset(int, int) - Method in class mayflower.Actor
Return an Actor that is touching the point (x + dx, y + dy) where (x, y) is the location of this Actor
getTransparency() - Method in class mayflower.Picture
Return the transparency of this Picture
getUpdateOrder() - Method in class mayflower.Actor
Returns the order this Actor's update method will be called.
getUpdateSpeed() - Method in class mayflower.Mayflower
Returns the update speed
getWidth() - Method in class mayflower.Actor
Returns the width of this Actor's picture
getWidth() - Method in class mayflower.Mayflower
Returns the width of the window in pixels
getWidth() - Method in class mayflower.Picture
 
getWidth() - Method in class mayflower.Stage
Return the width of the window
getX() - Method in class mayflower.Actor
Returns the x-coordinate that this Actor is drawn to the screen
getX() - Method in class mayflower.Mouse
Return the x coordinate
getY() - Method in class mayflower.Actor
Returns the y-coordinate that this Actor is drawn to the screen
getY() - Method in class mayflower.Mouse
Return the y coordinate
A E F G H I K L M P R S T U V W 
Skip navigation links