Class MovementCapa
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.movement.MovementCapa
-
- All Implemented Interfaces:
IEnvAccess
public class MovementCapa extends java.lang.Object implements IEnvAccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MovementCapa.Move
The move goal.
-
Field Summary
Fields Modifier and Type Field Description protected ICapability
capa
protected ContinuousSpace2D
env
The environment.protected IVector2
homepos
The home position (=first position).protected ISpaceObject
myself
The environment.
-
Constructor Summary
Constructors Constructor Description MovementCapa()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICapability
getCapability()
Get the capa.ContinuousSpace2D
getEnvironment()
Get the env.IVector2
getHomePosition()
ISpaceObject
getMyself()
Get the myself.IVector2
getPosition()
-
-
-
Field Detail
-
capa
protected ICapability capa
-
env
protected ContinuousSpace2D env
The environment.
-
myself
protected ISpaceObject myself
The environment.
-
homepos
protected IVector2 homepos
The home position (=first position).
-
-
Method Detail
-
getPosition
public IVector2 getPosition()
-
getHomePosition
public IVector2 getHomePosition()
-
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.
-
getCapability
public ICapability getCapability()
Get the capa.- Returns:
- The capa.
-
-