A C D F G I M N P R S T U W 

G

getActor() - Method in class greenfoot.MouseInfo
Return the actor (if any) that the current mouse behaviour is related to.
getAwtImage() - Method in class greenfoot.GreenfootImage
Returns the java.awt.image.BufferedImage that backs this GreenfootImage.
getBackground() - Method in class greenfoot.World
Return the world's background image.
getButton() - Method in class greenfoot.MouseInfo
The number of the pressed or clicked button (if any).
getCellSize() - Method in class greenfoot.World
Return the size of a cell (in pixels).
getClickCount() - Method in class greenfoot.MouseInfo
Return the number of mouse clicks associated with this mouse event.
getColor() - Method in class greenfoot.GreenfootImage
Return the current drawing color.
getColorAt(int, int) - Method in class greenfoot.GreenfootImage
Return the color at the given pixel.
getColorAt(int, int) - Method in class greenfoot.World
Return the color at the centre of the cell.
getFont() - Method in class greenfoot.GreenfootImage
Get the current font.
getHeight() - Method in class greenfoot.GreenfootImage
Return the height of the image.
getHeight() - Method in class greenfoot.World
Return the height of the world (in number of cells).
getImage() - Method in class greenfoot.Actor
Returns the image used to represent this actor.
getInt(int) - Method in class greenfoot.UserInfo
Get the value of the int at the given index (0 to NUM_INTS-1, inclusive).
getIntersectingObjects(Class) - Method in class greenfoot.Actor
Return all the objects that intersect this object.
getMouseInfo() - Static method in class greenfoot.Greenfoot
Return a mouse info object with information about the state of the mouse.
getMyInfo() - Static method in class greenfoot.UserInfo
Get the data stored for the current user.
getNearby(int) - Static method in class greenfoot.UserInfo
Get a sorted list of the UserInfo items for this scenario surrounding the current user.
getNeighbours(int, boolean, Class) - Method in class greenfoot.Actor
Return the neighbours to this object within a given distance.
getObjects(Class) - Method in class greenfoot.World
Get all the objects in the world, or all the objects of a particular class.
getObjectsAt(int, int, Class) - Method in class greenfoot.World
Return all objects at a given cell.
getObjectsAtOffset(int, int, Class) - Method in class greenfoot.Actor
Return all objects that intersect the center of the given location (relative to this object's location).
getObjectsInRange(int, Class) - Method in class greenfoot.Actor
Return all objects within range 'radius' around this object.
getOneIntersectingObject(Class) - Method in class greenfoot.Actor
Return an object that intersects this object.
getOneObjectAtOffset(int, int, Class) - Method in class greenfoot.Actor
Return one object that is located at the specified cell (relative to this objects location).
getRandomNumber(int) - Static method in class greenfoot.Greenfoot
Return a random number between 0 (inclusive) and limit (exclusive).
getRank() - Method in class greenfoot.UserInfo
Get the users overall rank for this scenario.
getRotation() - Method in class greenfoot.Actor
Return the current rotation of this actor.
getScore() - Method in class greenfoot.UserInfo
Get the user's score.
getString(int) - Method in class greenfoot.UserInfo
Get the value of the String at the given index (0 to NUM_STRINGS-1, inclusive).
getTop(int) - Static method in class greenfoot.UserInfo
Get a sorted list of the UserInfo items for this scenario, starting at the top.
getTransparency() - Method in class greenfoot.GreenfootImage
Return the current transparency of the image.
getUserImage() - Method in class greenfoot.UserInfo
Return an image of the user.
getUserName() - Method in class greenfoot.UserInfo
Get the username of the user that this storage belongs to.
getVolume() - Method in class greenfoot.GreenfootSound
Get the current volume of the sound, between 0 (off) and 100 (loudest.)
getWidth() - Method in class greenfoot.GreenfootImage
Return the width of the image.
getWidth() - Method in class greenfoot.World
Return the width of the world (in number of cells).
getWorld() - Method in class greenfoot.Actor
Return the world that this actor lives in.
getX() - Method in class greenfoot.Actor
Return the x-coordinate of the actor's current location.
getX() - Method in class greenfoot.MouseInfo
Return the current x position of the mouse cursor.
getY() - Method in class greenfoot.Actor
Return the y-coordinate of the object's current location.
getY() - Method in class greenfoot.MouseInfo
Return the current y position of the mouse cursor.
greenfoot - package greenfoot
 
Greenfoot - Class in greenfoot
This utility class provides methods to control the simulation and interact with the system.
Greenfoot() - Constructor for class greenfoot.Greenfoot
 
GreenfootImage - Class in greenfoot
An image to be shown on screen.
GreenfootImage(GreenfootImage) - Constructor for class greenfoot.GreenfootImage
Create a GreenfootImage from another GreenfootImage.
GreenfootImage(int, int) - Constructor for class greenfoot.GreenfootImage
Create an empty (transparent) image with the specified size.
GreenfootImage(String) - Constructor for class greenfoot.GreenfootImage
Create an image from an image file.
GreenfootImage(String, int, int, int) - Constructor for class greenfoot.GreenfootImage
Creates an image with the given string drawn as text using the given font size, with the given foreground color on the given background color.
GreenfootImage(String, int, Color, Color) - Constructor for class greenfoot.GreenfootImage
Creates an image with the given string drawn as text using the given font size, with the given foreground color on the given background color.
GreenfootSound - Class in greenfoot
Represents audio that can be played in Greenfoot.
GreenfootSound(String) - Constructor for class greenfoot.GreenfootSound
Creates a new sound from the given file.
A C D F G I M N P R S T U W