Class AmbulanceAgent
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.ambulance.AmbulanceAgent
-
- All Implemented Interfaces:
IEnvAccess
public class AmbulanceAgent extends java.lang.Object implements IEnvAccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AmbulanceAgent.GoHome
class
AmbulanceAgent.TreatVictims
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
The agent.protected MovementCapa
movecapa
The capa.
-
Constructor Summary
Constructors Constructor Description AmbulanceAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
body()
IInternalAccess
getAgent()
Get the agent.ContinuousSpace2D
getEnvironment()
Get the env.MovementCapa
getMoveCapa()
Get the movecapa.ISpaceObject
getMyself()
Get the myself.
-
-
-
Field Detail
-
movecapa
protected MovementCapa movecapa
The capa.
-
agent
protected IInternalAccess agent
The agent.
-
-
Method Detail
-
body
public void body()
-
getMoveCapa
public MovementCapa getMoveCapa()
Get the movecapa.- Returns:
- The movecapa.
-
getAgent
public IInternalAccess getAgent()
Get the agent.- Returns:
- The agent.
-
getEnvironment
public ContinuousSpace2D getEnvironment()
Get the env.- Specified by:
getEnvironment
in interfaceIEnvAccess
- Returns:
- The env.
-
getMyself
public ISpaceObject getMyself()
Get the myself.- Specified by:
getMyself
in interfaceIEnvAccess
- Returns:
- The myself.
-
-