|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the base interface for any object wishing to be simulated
Method Summary | |
double |
getBoundingCircleRadius()
This allows to ask the radius of the object bounding circle. |
java.lang.String |
getClassName()
This method returns the object internal name. |
PathPlace |
getCurrentPathPlace()
Return the PathPlace for this object Could be null |
int |
getHeight()
Returns the Height the SimObject |
int |
getId()
Returns the Identifying number of the SimObject |
java.lang.String |
getName()
This method returns the object name. |
java.lang.String |
getObjectType()
Return the Type of the SimObject |
long |
getSerialNumber()
Every Object has a unique serial number |
int |
getStateId()
Returns the state id of the SimObject Method that will be used by the simulation to recognize auxilliary state |
int |
getWidth()
Returns the Width of the SimObject |
void |
setStateId(int i)
|
void |
stopObject()
Stop the object activity |
void |
takeTurn()
This method returns the object name. |
Method Detail |
public void takeTurn()
public java.lang.String getName()
public java.lang.String getClassName()
public int getId()
public long getSerialNumber()
public double getBoundingCircleRadius()
public int getHeight()
public int getWidth()
public int getStateId()
public void setStateId(int i)
public java.lang.String getObjectType()
public PathPlace getCurrentPathPlace()
public void stopObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |