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 classMovementCapa.MoveThe move goal.
-
Field Summary
Fields Modifier and Type Field Description protected ICapabilitycapaprotected ContinuousSpace2DenvThe environment.protected IVector2homeposThe home position (=first position).protected ISpaceObjectmyselfThe environment.
-
Constructor Summary
Constructors Constructor Description MovementCapa()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICapabilitygetCapability()Get the capa.ContinuousSpace2DgetEnvironment()Get the env.IVector2getHomePosition()ISpaceObjectgetMyself()Get the myself.IVector2getPosition()
-
-
-
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:
getEnvironmentin interfaceIEnvAccess- Returns:
- The env.
-
getMyself
public ISpaceObject getMyself()
Get the myself.- Specified by:
getMyselfin interfaceIEnvAccess- Returns:
- The myself.
-
getCapability
public ICapability getCapability()
Get the capa.- Returns:
- The capa.
-
-