A B C E F G H I J L M N O P R S T U V W _

A

act() - Method in class sofia.micro.Actor
The act method is called by the system to give actors a chance to perform some action.
act() - Method in class sofia.micro.ScriptableActor
This implementation of the act method executes one action in this actor's script.
act() - Method in class sofia.micro.ScriptableWorld
This implementation of the act method executes one action in this world's script.
act() - Method in class sofia.micro.World
Act method for world.
Actor - Class in sofia.micro
An Actor is an object (or character) that exists in a "microworld".
Actor() - Constructor for class sofia.micro.Actor
Create a new Actor.
Actor(String) - Constructor for class sofia.micro.Actor
Create a new Actor.
Actor(boolean) - Constructor for class sofia.micro.Actor
Create a new Actor.
Actor(String, boolean) - Constructor for class sofia.micro.Actor
Create a new Actor.
Actor - Class in sofia.micro.greenfoot
A small "adaptor" class that provides Greenfoot-style methods for some Actor features.
Actor() - Constructor for class sofia.micro.greenfoot.Actor
Create a new Actor.
Actor(String) - Constructor for class sofia.micro.greenfoot.Actor
Create a new Actor.
Actor(boolean) - Constructor for class sofia.micro.greenfoot.Actor
Create a new Actor.
Actor(String, boolean) - Constructor for class sofia.micro.greenfoot.Actor
Create a new Actor.
ActorScript<MyActor extends ScriptableActor> - Interface in sofia.micro
Represents an actor script--that is, a sequence of actions on a scriptable actor to control its behavior.
add(Actor) - Method in class sofia.micro.ScriptableWorld
Add an Actor to the world.
add(Actor, int, int) - Method in class sofia.micro.ScriptableWorld
Add an Actor to the world at a specified location.
add(Actor) - Method in class sofia.micro.World
Add an Actor to the world.
add(Actor, int, int) - Method in class sofia.micro.World
Add an Actor to the world at a specified location.
addedToWorld(World) - Method in class sofia.micro.Actor
This method is called by the system when this actor has been inserted into the world.
addObject(Actor, int, int) - Method in class sofia.micro.greenfoot.World
Add an Actor to the world at a specified location.
addOther(Shape) - Method in class sofia.graphics.Shape
Add another shape to the same view (or parent) containing this shape.
addOther(Shape) - Method in class sofia.micro.Actor
 
AHEAD - Static variable in class sofia.micro.jeroo.Jeroo
A constant that represents the direction straight in front of the Jeroo, in the direction it is currently facing.
asBitmap() - Method in class sofia.graphics.Image
Access the contents of this image in the form of an Android Bitmap.

B

backgroundIsForCells() - Method in class sofia.micro.World
Return whether the background image is scaled to each cell and repeated, or stretched over the entire grid.

C

CompassDirection - Enum in sofia.micro.jeroo
Represents the four cardinal directions of the compass.
conditionallyRelayout() - Method in class sofia.graphics.Shape
Called to recalculate the layout of the shape on the screen.
conditionallyRepaint() - Method in class sofia.graphics.Shape
Called to indicate that the shape needs to be repainted on the screen.
contains(float, float) - Method in class sofia.graphics.Shape
Gets a value indicating whether the specified pixel location is contained in the receiver.
contains(PointF) - Method in class sofia.graphics.Shape
Gets a value indicating whether the specified pixel location is contained in the receiver.

E

EAST - Static variable in class sofia.micro.jeroo.Jeroo
A constant that means facing east, or to the right.
extendsOutside(RectF) - Method in class sofia.graphics.Shape
Determine whether any part of this shape extends outside the given rectangle.

F

Flower - Class in sofia.micro.jeroo
Represents a winsum flower, the Jeroo's primary food source.
Flower(int, int) - Constructor for class sofia.micro.jeroo.Flower
Create a new flower.

G

getActor() - Method in interface sofia.micro.ActorScript
Get the actor this script controls.
getAlpha() - Method in class sofia.graphics.Shape
A convenience method that gets the alpha (opacity) component of the shape's color.
getBackground() - Method in class sofia.micro.World
Return the world's background image.
getBounds() - Method in class sofia.graphics.Shape
Gets the bounding rectangle of the shape.
getColor() - Method in class sofia.graphics.Shape
Gets the color of the receiver.
getDefault() - Static method in class sofia.graphics.Image
Get a new Image object that renders as the default Sofia image.
getGreenfootImage() - Method in class sofia.micro.greenfoot.Actor
Returns the image used to represent this actor, as a GreenfootImage object.
getGridX() - Method in class sofia.micro.Actor
Return the x-coordinate of the actor's current location.
getGridY() - Method in class sofia.micro.Actor
Return the y-coordinate of the object's current location.
getHeight() - Method in class sofia.graphics.Image
Return the height of this bitmap.
getHeight() - Method in class sofia.graphics.Shape
Gets the height of the shape, in pixels.
getHeight() - Method in class sofia.micro.World
Return the height of the world (in number of cells).
getImage() - Method in class sofia.micro.Actor
Returns the image used to represent this actor, as an Image object.
getIntersectingObjects(Class<MyActor>) - Method in class sofia.micro.Actor
Return all the objects that intersect this object.
getNeighbors(float, boolean, Class<MyActor>) - Method in class sofia.micro.Actor
Return the neighbors to this object within a given distance.
getNeighbours(float, boolean, Class<MyActor>) - Method in class sofia.micro.greenfoot.Actor
Return the neighbors to this object within a given distance.
getNickName() - Method in class sofia.micro.Actor
Get the "nickname" for this object--an assignable name that is used in the toString() representation of this object.
getObjects() - Method in class sofia.micro.World
Get all the actors in the world.
getObjects(Class<MyActor>) - Method in class sofia.micro.World
Get all the actors of the specified type in this world.
getObjectsAt(float, float, Class<MyActor>) - Method in class sofia.micro.World
Return all objects of the specified type at a given cell.
getObjectsAtOffset(float, float, Class<MyActor>) - Method in class sofia.micro.Actor
Return all objects that intersect the center of the given location (relative to this object's location).
getObjectsInRange(float, Class<MyActor>) - Method in class sofia.micro.Actor
Return all objects within range 'radius' around this object.
getOneIntersectingObject(Class<MyActor>) - Method in class sofia.micro.Actor
Return an object that intersects this object.
getOneObjectAtOffset(float, float, Class<MyActor>) - Method in class sofia.micro.Actor
Return one object that is located at the specified cell (relative to this object's location).
getOrientation() - Method in class sofia.micro.World
Get the preferred orientation of this world.
getPixel(int, int) - Method in class sofia.graphics.Image
Returns the Color at the specified location.
getPixels() - Method in class sofia.graphics.Image
Returns an array containing all of the Color of each pixel in the image, arranged in row-major order.
getPosition() - Method in class sofia.graphics.Shape
Gets the origin (top-left corner) of the receiver.
getPositionAnchor() - Method in class sofia.graphics.Shape
Get the current position anchor, which is an offset relative to the upper left corner of the shape that is used as the shape's "origin" for the purposes of getting/setting x-y positions.
getRandomNumber(int) - Static method in class sofia.micro.greenfoot.Greenfoot
Return a random number between 0 (inclusive) and limit (exclusive).
getRotation() - Method in class sofia.graphics.Shape
Gets the current angle of rotation of the shape, in degrees clockwise.
getRotationPivot() - Method in class sofia.graphics.Shape
Gets the point around which the shape's rotation will pivot.
getScaleForDpi() - Method in class sofia.graphics.Image
Get whether this image will be automatically scaled up or down based on the current device's pixel density when it is loaded.
getScript() - Method in class sofia.micro.ScriptableActor
Get the script associated with this actor.
getScript() - Method in class sofia.micro.ScriptableWorld
Get the script associated with this actor.
getShape() - Method in class sofia.micro.Actor
Returns the image used to represent this actor, as a Shape object.
getShapeParent() - Method in class sofia.graphics.Shape
Gets the parent of the receiver.
getSpeed() - Method in class sofia.micro.World
Get the speed of this world, which determines the delay between successive steps where act() is called on all Actors.
getWidth() - Method in class sofia.graphics.Image
Return the width of this bitmap.
getWidth() - Method in class sofia.graphics.Shape
Gets the width of the shape, in pixels.
getWidth() - Method in class sofia.micro.World
Return the width of the world (in number of cells).
getWorld() - Method in class sofia.micro.Actor
Return the world that this actor lives in.
getWorld() - Method in class sofia.micro.greenfoot.Actor
 
getX() - Method in class sofia.graphics.Shape
Gets the x-coordinate of the anchor point of the shape's bounding box (the top-left corner, by default).
getY() - Method in class sofia.graphics.Shape
Gets the y-coordinate of the anchor point of the shape's bounding box (the top-left corner, by default).
getZIndex() - Method in class sofia.graphics.Shape
Gets the z-index of the receiver.
give(RelativeDirection) - Method in class sofia.micro.jeroo.Jeroo
Give a flower to a Jeroo in a neighboring cell in the indicated direction.
Greenfoot - Class in sofia.micro.greenfoot
A small "adaptor" class that provides Greenfoot-style static methods for some Sofia features.
GreenfootImage - Class in sofia.micro.greenfoot
A small "adaptor" class that allows client code to use the class name GreenfootImage instead of just Image.
GreenfootImage(Bitmap) - Constructor for class sofia.micro.greenfoot.GreenfootImage
Create an image from a bitmap.
GreenfootImage(Class<?>) - Constructor for class sofia.micro.greenfoot.GreenfootImage
Create an image from a class.
GreenfootImage(String) - Constructor for class sofia.micro.greenfoot.GreenfootImage
Create an image from a file.
GreenfootImage(Image) - Constructor for class sofia.micro.greenfoot.GreenfootImage
Create an image that is a duplicate of another image (a copy constructor).

H

hasFlower() - Method in class sofia.micro.jeroo.Jeroo
Does this Jeroo have any flowers in its pouch?
HERE - Static variable in class sofia.micro.jeroo.Jeroo
A constant that represents the location where the Jeroo is currently standing.
hop() - Method in class sofia.micro.jeroo.Jeroo
Move forward one space.
hop(int) - Method in class sofia.micro.jeroo.Jeroo
Hop number times in a row, where number is a positive integer.

I

Image - Class in sofia.graphics
Represents a single bitmapped image, such as one loaded from a file.
Image(Bitmap) - Constructor for class sofia.graphics.Image
Create an image from a bitmap.
Image(Class<?>) - Constructor for class sofia.graphics.Image
Create an image from a class.
Image(String) - Constructor for class sofia.graphics.Image
Create an image from a file.
Image(Image) - Constructor for class sofia.graphics.Image
Create an image that is a duplicate of another image (a copy constructor).
incapacitate(String) - Method in class sofia.micro.jeroo.Jeroo
Called under various error conditions to indicate that this Jeroo is out of commission and cannot carry out any more actions.
intersects(Shape) - Method in class sofia.graphics.Shape
Determine whether this shape intersects another, based on their bounding boxes.
isFacing(CompassDirection) - Method in class sofia.micro.jeroo.Jeroo
Is the Jeroo facing the indicated direction?
isInFrontOf(Shape) - Method in class sofia.graphics.Shape
Returns true if this shape is drawn in front of (later than) the other shape.
Island - Class in sofia.micro.jeroo
Represents an island where Jeroos live (e.g., Santong Island).
Island() - Constructor for class sofia.micro.jeroo.Island
Construct a new island with a default size of 20 x 12 cells.
Island(int, int) - Constructor for class sofia.micro.jeroo.Island
Construct a new world.
isVisible() - Method in class sofia.graphics.Shape
Gets a value indicating whether the receiver is visible (drawn on the screen).

J

Jeroo - Class in sofia.micro.jeroo
Represents a Jeroo on Santong Island.
Jeroo() - Constructor for class sofia.micro.jeroo.Jeroo
Create a new Jeroo at the origin (0, 0), facing east, with no flowers.
Jeroo(int) - Constructor for class sofia.micro.jeroo.Jeroo
Create a new Jeroo at the origin (0, 0), facing east.
Jeroo(int, int) - Constructor for class sofia.micro.jeroo.Jeroo
Create a new Jeroo, facing east, with no flowers.
Jeroo(int, int, CompassDirection) - Constructor for class sofia.micro.jeroo.Jeroo
Create a new Jeroo with no flowers.
Jeroo(int, int, int) - Constructor for class sofia.micro.jeroo.Jeroo
Create a new Jeroo facing east.
Jeroo(int, int, CompassDirection, int) - Constructor for class sofia.micro.jeroo.Jeroo
Create a new Jeroo.

L

LEFT - Static variable in class sofia.micro.jeroo.Jeroo
A constant that represents the direction to the left of a Jeroo's current location or direction.

M

move(float, float) - Method in class sofia.graphics.Shape
Moves the receiver by the specified horizontal and vertical distance.
move(int) - Method in class sofia.micro.Actor
Move this actor the specified distance in the direction it is currently facing.
move(int) - Method in class sofia.micro.ScriptableActor
Move this actor the specified distance in the direction it is currently facing.

N

Net - Class in sofia.micro.jeroo
Represents a net on Santong Island.
Net(int, int) - Constructor for class sofia.micro.jeroo.Net
Create a new net.
NORTH - Static variable in class sofia.micro.jeroo.Jeroo
A constant that means facing north, or up.
notifyParentOfPositionChange() - Method in class sofia.graphics.Shape
Called to recalculate the layout of the shape on the screen.
numberOfObjects() - Method in class sofia.micro.World
Get the number of actors currently in the world.

O

offset() - Method in enum sofia.micro.jeroo.CompassDirection
Get the offset (in terms of a change in x-coordinate and y-coordinate) of the cell one cell away in this direction.
onBoundsResolved() - Method in class sofia.graphics.Shape
Called when the bounds of the shape have been resolved.

P

pick() - Method in class sofia.micro.jeroo.Jeroo
Pick a flower from the current location.
plant() - Method in class sofia.micro.jeroo.Jeroo
Plant a flower at the current location.

R

RelativeDirection - Enum in sofia.micro.jeroo
Represents the four relative directions for turning or looking.
remove() - Method in class sofia.graphics.Shape
Remove this shape from its view (or parent).
remove() - Method in class sofia.micro.Actor
 
remove(Actor) - Method in class sofia.micro.ScriptableWorld
 
remove(Actor) - Method in class sofia.micro.World
Remove an Actor from the world.
removeObject(Actor) - Method in class sofia.micro.greenfoot.World
Remove an Actor from the world.
resolveAgainstContext(Context) - Method in class sofia.graphics.Image
Provide an Android resource context to use for loading this image (this must be called before any class/id/file name image will be available).
RIGHT - Static variable in class sofia.micro.jeroo.Jeroo
A constant that represents the direction to the right of a Jeroo's current location or direction.
rotateBy(float) - Method in class sofia.graphics.Shape
Increments the shape's rotation by the specified number of degrees, around the same pivot point that was used previously (or the center of the shape if no other pivot has been previously used).

S

Script - Interface in sofia.micro
Represents a script--that is, a sequence of actions on a scriptable object to control its behavior.
script() - Method in interface sofia.micro.Script
Represents a sequence of actions to carry out, one turn at a time.
script() - Method in class sofia.micro.ScriptableActor
Subclasses can override this method to provide the "script" for the actor to follow.
script() - Method in class sofia.micro.ScriptableWorld
Subclasses can override this method to provide the "script" for the actor to follow.
ScriptableActor - Class in sofia.micro
Represents an Actor that is controlled by a script--that is, a predefined sequence of behavior played out over time.
ScriptableActor() - Constructor for class sofia.micro.ScriptableActor
Create a new scriptable actor.
ScriptableActor(String) - Constructor for class sofia.micro.ScriptableActor
Create a new scriptable actor.
ScriptableActor(boolean) - Constructor for class sofia.micro.ScriptableActor
Create a new scriptable ctor.
ScriptableActor(String, boolean) - Constructor for class sofia.micro.ScriptableActor
Create a new scriptable actor.
ScriptableWorld - Class in sofia.micro
Represents a World that is controlled by a script--that is, a predefined sequence of behavior played out over time.
ScriptableWorld() - Constructor for class sofia.micro.ScriptableWorld
Construct a new world with a default size of 20 x 12.
ScriptableWorld(int, int) - Constructor for class sofia.micro.ScriptableWorld
Construct a new world.
ScriptableWorld(int, int, int) - Constructor for class sofia.micro.ScriptableWorld
Construct a new world.
scriptStep() - Method in class sofia.micro.ScriptableActor
Triggers one action in this actor's script.
scriptStep() - Method in class sofia.micro.ScriptableWorld
Triggers one action in this actor's script.
seesClear(RelativeDirection) - Method in class sofia.micro.jeroo.Jeroo
Are there no obstacles (no net, no flower, no Jeroo, and no water) in the indicated direction?
seesFlower(RelativeDirection) - Method in class sofia.micro.jeroo.Jeroo
Is there a flower in the indicated direction?
seesJeroo(RelativeDirection) - Method in class sofia.micro.jeroo.Jeroo
Is there a Jeroo in the indicated direction?
seesNet(RelativeDirection) - Method in class sofia.micro.jeroo.Jeroo
Is there a net in the indicated direction?
seesWater(RelativeDirection) - Method in class sofia.micro.jeroo.Jeroo
Is there water in the indicated direction?
setActor(MyActor) - Method in interface sofia.micro.ActorScript
Set the actor this script controls.
setActOrder(Class<? extends Actor>...) - Method in class sofia.micro.World
Set the act order of objects in the world.
setAlpha(int) - Method in class sofia.graphics.Shape
A convenience method that sets the alpha (opacity) component of the shape's color without changing the other color components.
setBackground(Image) - Method in class sofia.micro.greenfoot.World
Set a background image to use for each Cell.
setBackground(String) - Method in class sofia.micro.greenfoot.World
Set a background image to use for each Cell.
setBackgroundColor(Color) - Method in class sofia.micro.ScriptableWorld
Set the color of the world's background, if you prefer a solid color background instead of an Image.
setBackgroundColor(Color) - Method in class sofia.micro.World
Set the color of the world's background, if you prefer a solid color background instead of an Image.
setBounds(RectF) - Method in class sofia.graphics.Shape
Sets the bounding rectangle of the shape.
setBounds(RectF) - Method in class sofia.micro.Actor
Sets the bounding rectangle of the shape.
setCellBackground(Image) - Method in class sofia.micro.ScriptableWorld
Set a background image to use for each Cell.
setCellBackground(String) - Method in class sofia.micro.World
Set a background image to use for each Cell.
setCellBackground(Image) - Method in class sofia.micro.World
Set a background image to use for each Cell.
setColor(Color) - Method in class sofia.graphics.Shape
Sets the color of the receiver.
setGridColor(Color) - Method in class sofia.micro.ScriptableWorld
Ask the world to draw visible grid lines of a specified color.
setGridColor(Color) - Method in class sofia.micro.World
Ask the world to draw visible grid lines of a specified color.
setGridLocation(int, int) - Method in class sofia.micro.Actor
Assign a new location for this actor.
setGridLocation(int, int) - Method in class sofia.micro.ScriptableActor
Assign a new location for this actor.
setGridX(int) - Method in class sofia.micro.Actor
Assign a new horizontal (x-axis) location for this actor.
setGridX(int) - Method in class sofia.micro.ScriptableActor
Assign a new horizontal (x-axis) location for this actor.
setGridY(int) - Method in class sofia.micro.Actor
Assign a new vertical (y-axis) location for this actor.
setGridY(int) - Method in class sofia.micro.ScriptableActor
Assign a new vertical (y-axis) location for this actor.
setImage(String) - Method in class sofia.micro.Actor
Set an image for this actor from an image file.
setImage(Image) - Method in class sofia.micro.Actor
Set a bitmap as the image for this actor.
setLocation(int, int) - Method in class sofia.micro.greenfoot.Actor
Assign a new location for this actor.
setNickName(String) - Method in class sofia.micro.Actor
Set the "nickname" for this object--an assignable name that is used in the toString() representation of this object.
setOrientation(int) - Method in class sofia.micro.World
Determine the preferred orientation of this World when displayed on the device.
setPaintOrder(Class<? extends Actor>...) - Method in class sofia.micro.World
Set the paint order of objects in the world.
setPixel(int, int, Color) - Method in class sofia.graphics.Image
Write the specified Color into the bitmap at the x,y coordinate.
setPixels(Color[]) - Method in class sofia.graphics.Image
Replace pixels in the bitmap with the colors in the array.
setPosition(PointF) - Method in class sofia.graphics.Shape
Sets the origin (top-left corner) of the receiver.
setPosition(PointAndAnchor) - Method in class sofia.graphics.Shape
Sets the position of the receiver based on the specified point and anchor, leaving its size unchanged.
setPosition(PointF) - Method in class sofia.micro.Actor
Sets the origin (top-left corner) of the receiver.
setPosition(PointAndAnchor) - Method in class sofia.micro.Actor
Sets the position of the receiver based on the specified point and anchor, leaving its size unchanged.
setPositionAnchor(PointF) - Method in class sofia.graphics.Shape
Set the position anchor, which is an offset relative to the upper left corner of the shape that is used as the shape's "origin" for the purposes of getting/setting x-y positions.
setPositionAnchor(Anchor) - Method in class sofia.graphics.Shape
Set the position anchor, which is an offset relative to the upper left corner of the shape that is used as the shape's "origin" for the purposes of getting/setting x-y positions.
setPositionAnchor(Anchor) - Method in class sofia.micro.Actor
Set the position anchor, which is an offset relative to the upper left corner of the shape that is used as the shape's "origin" for the purposes of getting/setting x-y positions.
setPositionAnchor(PointF) - Method in class sofia.micro.Actor
Set the position anchor, which is an offset relative to the upper left corner of the shape that is used as the shape's "origin" for the purposes of getting/setting x-y positions.
setRotation(float) - Method in class sofia.graphics.Shape
Sets the angle of rotation of the shape in degrees clockwise, using the center of the shape's bounding box as the pivot point.
setRotation(float, PointF) - Method in class sofia.graphics.Shape
Sets the angle of rotation of the shape in degrees clockwise, using the specified point as the pivot point.
setRotation(double) - Method in class sofia.micro.Actor
Set the rotation of this actor.
setRotation(double) - Method in class sofia.micro.ScriptableActor
Set the rotation of this actor.
setScaledCellSize(int, boolean) - Method in class sofia.micro.World
Set the effective cell size of this world (for bitmaps) and whether this world (and its actors) should be automatically scaled up (zoomed) if the Android device resolution permits it.
setScaleForDpi(boolean) - Method in class sofia.graphics.Image
Determine whether this image will be automatically scaled up or down based on the current device's pixel density when it is loaded.
setScript(ActorScript<MyActor>) - Method in class sofia.micro.ScriptableActor
Associate a script with this actor by providing an ActorScript object.
setScript(Script) - Method in class sofia.micro.ScriptableActor
Associate a script with this actor by providing a Script object.
setScript(Script) - Method in class sofia.micro.ScriptableWorld
Associate a script with this world by providing a Script object.
setSpeed(int) - Static method in class sofia.micro.greenfoot.Greenfoot
Set the speed of the execution.
setSpeed(int) - Method in class sofia.micro.World
Set the speed of this world, which determines the delay between successive steps where act() is called on all Actors.
setUseDefaultIfNotFound(boolean) - Method in class sofia.graphics.Image
Determine whether this image should use the default Sofia image/icon, if no image corresponding to the search criteria (e.g., a class name, or a file name) is found.
setVisible(boolean) - Method in class sofia.graphics.Shape
Sets a value indicating whether the receiver is visible (drawn on the screen).
setWorldBackground(Image) - Method in class sofia.micro.ScriptableWorld
Set a background image to use for the entire world.
setWorldBackground(String) - Method in class sofia.micro.World
Set a background image to use for the entire world.
setWorldBackground(Image) - Method in class sofia.micro.World
Set a background image to use for the entire world.
setX(float) - Method in class sofia.graphics.Shape
Sets the x-coordinate of the anchor point of the shape's bounding box (the top-left corner, by default).
setX(float) - Method in class sofia.micro.Actor
Sets the x-coordinate of the anchor point of the shape's bounding box (the top-left corner, by default).
setY(float) - Method in class sofia.graphics.Shape
Sets the y-coordinate of the anchor point of the shape's bounding box (the top-left corner, by default).
setY(float) - Method in class sofia.micro.Actor
Sets the y-coordinate of the anchor point of the shape's bounding box (the top-left corner, by default).
setZIndex(int) - Method in class sofia.graphics.Shape
Sets the z-index of the receiver.
Shape - Class in sofia.graphics
Write a one-sentence summary of your class here.
Shape() - Constructor for class sofia.graphics.Shape
Creates a new shape with default bounds (located at the center of the screen and 100 pixels wide by 100 pixels tall).
Shape(RectF) - Constructor for class sofia.graphics.Shape
Creates a new shape with the specified bounds.
sofia.graphics - package sofia.graphics
 
sofia.micro - package sofia.micro
 
sofia.micro.greenfoot - package sofia.micro.greenfoot
 
sofia.micro.jeroo - package sofia.micro.jeroo
 
SOUTH - Static variable in class sofia.micro.jeroo.Jeroo
A constant that means facing south, or down.
start() - Static method in class sofia.micro.greenfoot.Greenfoot
Run (or resume) the execution.
start() - Method in class sofia.micro.World
Start (or run, or resume) the world.
started() - Method in class sofia.micro.World
This method is called by the system when the execution has started.
stop() - Static method in class sofia.micro.greenfoot.Greenfoot
Pause the execution.
stop() - Method in class sofia.micro.World
Stop (or pause running of) the world.
stopped() - Method in class sofia.micro.World
This method is called by the system when the execution has stopped.
stopScript() - Method in class sofia.micro.ScriptableActor
Stop any currently executing script associated with this actor.
stopScript() - Method in class sofia.micro.ScriptableWorld
Stop any currently executing script associated with this actor.

T

toss() - Method in class sofia.micro.jeroo.Jeroo
Toss a flower one space ahead.
toString() - Method in class sofia.graphics.Shape
Returns a human-readable string representation of the shape.
toString() - Method in class sofia.micro.Actor
Returns a human-readable string representation of the actor.
turn(double) - Method in class sofia.micro.Actor
Turn this actor by the specified amount (in degrees).
turn(RelativeDirection) - Method in enum sofia.micro.jeroo.CompassDirection
Get the new compass direction by turning a relative amount from the current compass direction.
turn(RelativeDirection) - Method in class sofia.micro.jeroo.Jeroo
Turn in the indicated direction, but stay in the same location.
turn(double) - Method in class sofia.micro.ScriptableActor
Turn this actor by the specified amount (in degrees).
turnTowards(int, int) - Method in class sofia.micro.Actor
Turn this actor to face towards a certain location.
turnTowards(Actor) - Method in class sofia.micro.Actor
Turn this actor to face towards another actor (in the same world).
turnTowards(int, int) - Method in class sofia.micro.ScriptableActor
Turn this actor to face towards a certain location.
turnTowards(Actor) - Method in class sofia.micro.ScriptableActor
Turn this actor to face towards another actor (in the same world).

U

useDefaultIfNotFound() - Method in class sofia.graphics.Image
Says whether this object will use the default Sofia image/icon, if no image corresponding to the search criteria specified in its constructor call (e.g., a class name, or a file name) is found.

V

valueOf(String) - Static method in enum sofia.micro.jeroo.CompassDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum sofia.micro.jeroo.RelativeDirection
Returns the enum constant of this type with the specified name.
values() - Static method in enum sofia.micro.jeroo.CompassDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum sofia.micro.jeroo.RelativeDirection
Returns an array containing the constants of this enum type, in the order they are declared.

W

Water - Class in sofia.micro.jeroo
Represents a patch of water on/around Santong Island.
Water(int, int) - Constructor for class sofia.micro.jeroo.Water
Create a new patch of water.
WEST - Static variable in class sofia.micro.jeroo.Jeroo
A constant that means facing west, or to the left.
World - Class in sofia.micro.greenfoot
A small "adaptor" class that provides Greenfoot-style methods for some World features.
World() - Constructor for class sofia.micro.greenfoot.World
Construct a new world with a default size of 20 x 12.
World(int, int) - Constructor for class sofia.micro.greenfoot.World
Construct a new world.
World(int, int, int) - Constructor for class sofia.micro.greenfoot.World
Construct a new world.
World - Class in sofia.micro
Represents a "microworld" containing Actors and rendered on a screen.
World() - Constructor for class sofia.micro.World
Construct a new world with a default size of 20 x 12.
World(int, int) - Constructor for class sofia.micro.World
Construct a new world.
World(int, int, int) - Constructor for class sofia.micro.World
Construct a new world.

_

_gf_addToWorld(int, int, World) - Method in class sofia.micro.ScriptableActor
 

A B C E F G H I J L M N O P R S T U V W _

Greenfoot homepage