|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgreenfoot.sofiainternal.World
sofia.micro.World
sofia.micro.ScriptableWorld
sofia.micro.jeroo.Island
public class Island
Represents an island where Jeroos live (e.g., Santong Island).
Constructor Summary | |
---|---|
Island()
Construct a new island with a default size of 20 x 12 cells. |
|
Island(int width,
int height)
Construct a new world. |
Method Summary |
---|
Methods inherited from class sofia.micro.ScriptableWorld |
---|
act, add, add, getScript, remove, script, scriptStep, setBackgroundColor, setCellBackground, setGridColor, setScript, setWorldBackground, stopScript |
Methods inherited from class sofia.micro.World |
---|
backgroundIsForCells, getBackground, getHeight, getObjects, getObjects, getObjectsAt, getOrientation, getSpeed, getWidth, numberOfObjects, setActOrder, setCellBackground, setOrientation, setPaintOrder, setScaledCellSize, setSpeed, setWorldBackground, start, started, stop, stopped |
Methods inherited from class greenfoot.sofiainternal.World |
---|
_gf_addObject, _gf_getBackground, _gf_getCellSize, _gf_getColorAt, _gf_getIntersectingObjects, _gf_getNeighbours, _gf_getObjects, _gf_getObjectsAt, _gf_getObjectsInDirection, _gf_getObjectsInRange, _gf_getOneIntersectingObject, _gf_getOneObjectAt, _gf_removeObject, _gf_removeObjects, _gf_repaint, _gf_setActOrder, _gf_setBackground, _gf_setBackground, _gf_setPaintOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Island()
public Island(int width, int height)
width
- The width of the world (in cells).height
- The height of the world (in cells).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |