Class MovementCapability
- java.lang.Object
-
- jadex.bdiv3.examples.marsworld.movement.MovementCapability
-
public class MovementCapability extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MovementCapability.Missionend
The mission end goal.class
MovementCapability.Move
The move goal.class
MovementCapability.WalkAround
The walk goal.
-
Field Summary
Fields Modifier and Type Field Description protected ICapability
capa
protected AbstractEnvironmentSpace
env
The environment.protected boolean
missionend
The mission end.protected ISpaceObject
myself
The environment.protected java.util.List<ISpaceObject>
mytargets
The targets.
-
Constructor Summary
Constructors Constructor Description MovementCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTarget(ISpaceObject target)
ICapability
getCapability()
Get the capa.AbstractEnvironmentSpace
getEnvironment()
Get the env.ISpaceObject
getHomebase()
java.lang.Object
getHomebasePosition()
ISpaceObject
getMyself()
Get the myself.java.util.List<ISpaceObject>
getMyTargets()
Get the my_targets.protected long
getTime()
boolean
isMissionend()
Get the missionend.
-
-
-
Field Detail
-
capa
protected ICapability capa
-
env
protected AbstractEnvironmentSpace env
The environment.
-
myself
protected ISpaceObject myself
The environment.
-
missionend
protected boolean missionend
The mission end.
-
mytargets
protected java.util.List<ISpaceObject> mytargets
The targets.
-
-
Method Detail
-
getHomebasePosition
public java.lang.Object getHomebasePosition()
-
getHomebase
public ISpaceObject getHomebase()
-
getTime
protected long getTime()
-
getEnvironment
public AbstractEnvironmentSpace getEnvironment()
Get the env.- Returns:
- The env.
-
getMyself
public ISpaceObject getMyself()
Get the myself.- Returns:
- The myself.
-
getCapability
public ICapability getCapability()
Get the capa.- Returns:
- The capa.
-
getMyTargets
public java.util.List<ISpaceObject> getMyTargets()
Get the my_targets.- Returns:
- The my_targets.
-
isMissionend
public boolean isMissionend()
Get the missionend.- Returns:
- The missionend.
-
addTarget
public void addTarget(ISpaceObject target)
-
-