|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface class for all SimWorlds.
Method Summary | |
void |
addObject(SimObject o)
Adds an object to this SimWorld |
int |
getBrightness(double x,
double y,
double z)
Returns the light level at the specified co-ordinate. |
java.util.LinkedList |
getObjectList()
Returns this SimWorld's object list |
long |
getTime()
Returns the number of 'ticks' since this world was started |
boolean |
hasObstacle(double x,
double y,
double z)
Checks whether there is an obstacle in the specified co-ordinate |
void |
tick()
Performs one update loop |
Method Detail |
public void tick()
public long getTime()
public int getBrightness(double x, double y, double z)
public boolean hasObstacle(double x, double y, double z)
public java.util.LinkedList getObjectList()
public void addObject(SimObject o)
o
- the SimObject to be added
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |