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 class
FireBrigadeAgent.ClearChemicals
class
FireBrigadeAgent.ExtinguishFire
static class
FireBrigadeAgent.GoHome
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
The agent.protected MovementCapa
movecapa
The capa.
-
Constructor Summary
Constructors Constructor Description FireBrigadeAgent()
-
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.
-
-