|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cad.simcad.worldsimulator.objects.SimulatedObject | +--cad.simcad.worldsimulator.objects.others.SimAccident
Field Summary | |
protected PathPlace |
_pp
|
Fields inherited from class cad.simcad.worldsimulator.objects.SimulatedObject |
_am, _className, _height, _id, _name, _om, _owner, _serial, _sime, _stateId, _width |
Constructor Summary | |
SimAccident(SimEnvironment sime,
PathPlace mp,
ObjectMediator om,
Owner owner)
Creates a new instance of SimAccident |
Method Summary | |
double |
getBoundingCircleRadius()
This allows to ask the radius of the object bounding circle. |
PathPlace |
getCurrentPathPlace()
Return the PathPlace for this object Could be null |
java.awt.Color |
getMiniMapColor()
Return the Color for a totally zoomed out view |
java.lang.String |
getObjectType()
Return the Type of the SimObject |
int |
getX()
Return the X coordinate where the object should be drawn |
int |
getY()
Return the Y coordinate where the object should be drawn |
void |
stopObject()
Stop the object activity |
void |
takeTurn()
This method returns the object name. |
Methods inherited from class cad.simcad.worldsimulator.objects.SimulatedObject |
getClassName, getHeight, getId, getName, getSerialNumber, getStateId, getWidth, setStateId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cad.simcad.objectserver.spec.sim.Drawable2DObject |
getHeight, getWidth |
Field Detail |
protected PathPlace _pp
Constructor Detail |
public SimAccident(SimEnvironment sime, PathPlace mp, ObjectMediator om, Owner owner)
Method Detail |
public PathPlace getCurrentPathPlace()
getCurrentPathPlace
in interface SimObject
getCurrentPathPlace
in class SimulatedObject
public double getBoundingCircleRadius()
getBoundingCircleRadius
in interface SimObject
public java.lang.String getObjectType()
getObjectType
in interface SimObject
public void takeTurn()
takeTurn
in interface SimObject
public java.awt.Color getMiniMapColor()
getMiniMapColor
in interface Drawable2DObject
public int getX()
getX
in interface Drawable2DObject
public int getY()
getY
in interface Drawable2DObject
public void stopObject()
SimObject
stopObject
in interface SimObject
stopObject
in class SimulatedObject
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |