|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for Simulated Ambulance
Method Summary | |
boolean |
getAutoProcess()
Returns true if Ambulance process incidents automatically |
EmergencyVehicule |
getEmergencyVehicule()
Returns the EmergencyVehicule for this Ambulance |
GPSSim |
getGPSSim()
Returns the simulated GPS of this ambulance |
MDTSim |
getMDTSim()
Returns the simulated MDT of this ambulance |
int |
getVelocity()
Here the velocity of an object can be asked. |
void |
processIndicent(Incident p)
Ask the SimAmbulance to process an Incident |
void |
processIndicentPlace()
Ambulance moves to the Place of the Incident if it has one in cache |
void |
setAutoProcess(boolean b)
Ask the SimAmbulance to process an Incident automatically or not |
void |
setGPSSim(GPSSim gps)
Set the simulated GPS of this ambulance |
void |
setMDTSim(MDTSim mdt)
Set the simulated MDT of this ambulance |
void |
setVelocity(int value)
To change the velocity of an object. |
Methods inherited from interface cad.simcad.objectserver.spec.sim.SimObject |
getBoundingCircleRadius, getClassName, getCurrentPathPlace, getHeight, getId, getName, getObjectType, getSerialNumber, getStateId, getWidth, setStateId, stopObject, takeTurn |
Method Detail |
public void setVelocity(int value)
value
- the new value for the velocitypublic int getVelocity()
public MDTSim getMDTSim()
public GPSSim getGPSSim()
public void setGPSSim(GPSSim gps)
public void setMDTSim(MDTSim mdt)
public EmergencyVehicule getEmergencyVehicule()
public void processIndicent(Incident p)
public void setAutoProcess(boolean b)
public boolean getAutoProcess()
public void processIndicentPlace()
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |