Class MovementCapability
- java.lang.Object
- 
- jadex.bdiv3.examples.marsworld.movement.MovementCapability
 
- 
 public class MovementCapability extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMovementCapability.MissionendThe mission end goal.classMovementCapability.MoveThe move goal.classMovementCapability.WalkAroundThe walk goal.
 - 
Field SummaryFields Modifier and Type Field Description protected ICapabilitycapaprotected AbstractEnvironmentSpaceenvThe environment.protected booleanmissionendThe mission end.protected ISpaceObjectmyselfThe environment.protected java.util.List<ISpaceObject>mytargetsThe targets.
 - 
Constructor SummaryConstructors Constructor Description MovementCapability()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTarget(ISpaceObject target)ICapabilitygetCapability()Get the capa.AbstractEnvironmentSpacegetEnvironment()Get the env.ISpaceObjectgetHomebase()java.lang.ObjectgetHomebasePosition()ISpaceObjectgetMyself()Get the myself.java.util.List<ISpaceObject>getMyTargets()Get the my_targets.protected longgetTime()booleanisMissionend()Get the missionend.
 
- 
- 
- 
Field Detail- 
capaprotected ICapability capa 
 - 
envprotected AbstractEnvironmentSpace env The environment.
 - 
myselfprotected ISpaceObject myself The environment.
 - 
missionendprotected boolean missionend The mission end.
 - 
mytargetsprotected java.util.List<ISpaceObject> mytargets The targets.
 
- 
 - 
Method Detail- 
getHomebasePositionpublic java.lang.Object getHomebasePosition() 
 - 
getHomebasepublic ISpaceObject getHomebase() 
 - 
getTimeprotected long getTime() 
 - 
getEnvironmentpublic AbstractEnvironmentSpace getEnvironment() Get the env.- Returns:
- The env.
 
 - 
getMyselfpublic ISpaceObject getMyself() Get the myself.- Returns:
- The myself.
 
 - 
getCapabilitypublic ICapability getCapability() Get the capa.- Returns:
- The capa.
 
 - 
getMyTargetspublic java.util.List<ISpaceObject> getMyTargets() Get the my_targets.- Returns:
- The my_targets.
 
 - 
isMissionendpublic boolean isMissionend() Get the missionend.- Returns:
- The missionend.
 
 - 
addTargetpublic void addTarget(ISpaceObject target) 
 
- 
 
-