Class FireBrigadeAgent
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.firebrigade.FireBrigadeAgent
-
- All Implemented Interfaces:
IEnvAccess
public class FireBrigadeAgent extends java.lang.Object implements IEnvAccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classFireBrigadeAgent.ClearChemicalsclassFireBrigadeAgent.ExtinguishFirestatic classFireBrigadeAgent.GoHome
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccessagentThe agent.protected MovementCapamovecapaThe capa.
-
Constructor Summary
Constructors Constructor Description FireBrigadeAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()IInternalAccessgetAgent()Get the agent.ContinuousSpace2DgetEnvironment()Get the env.MovementCapagetMoveCapa()Get the movecapa.ISpaceObjectgetMyself()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:
getEnvironmentin interfaceIEnvAccess- Returns:
- The env.
-
getMyself
public ISpaceObject getMyself()
Get the myself.- Specified by:
getMyselfin interfaceIEnvAccess- Returns:
- The myself.
-
-