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 jadex.bdiv3.runtime.ICapability
capa
protected jadex.extension.envsupport.environment.AbstractEnvironmentSpace
env
The environment.protected boolean
missionend
The mission end.protected jadex.extension.envsupport.environment.ISpaceObject
myself
The environment.protected java.util.List<jadex.extension.envsupport.environment.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(jadex.extension.envsupport.environment.ISpaceObject target)
jadex.bdiv3.runtime.ICapability
getCapability()
Get the capa.jadex.extension.envsupport.environment.AbstractEnvironmentSpace
getEnvironment()
Get the env.jadex.extension.envsupport.environment.ISpaceObject
getHomebase()
java.lang.Object
getHomebasePosition()
jadex.extension.envsupport.environment.ISpaceObject
getMyself()
Get the myself.java.util.List<jadex.extension.envsupport.environment.ISpaceObject>
getMyTargets()
Get the my_targets.protected long
getTime()
boolean
isMissionend()
Get the missionend.
-
-
-
Field Detail
-
capa
protected jadex.bdiv3.runtime.ICapability capa
-
env
protected jadex.extension.envsupport.environment.AbstractEnvironmentSpace env
The environment.
-
myself
protected jadex.extension.envsupport.environment.ISpaceObject myself
The environment.
-
missionend
protected boolean missionend
The mission end.
-
mytargets
protected java.util.List<jadex.extension.envsupport.environment.ISpaceObject> mytargets
The targets.
-
-
Method Detail
-
getHomebasePosition
public java.lang.Object getHomebasePosition()
-
getHomebase
public jadex.extension.envsupport.environment.ISpaceObject getHomebase()
-
getTime
protected long getTime()
-
getEnvironment
public jadex.extension.envsupport.environment.AbstractEnvironmentSpace getEnvironment()
Get the env.- Returns:
- The env.
-
getMyself
public jadex.extension.envsupport.environment.ISpaceObject getMyself()
Get the myself.- Returns:
- The myself.
-
getCapability
public jadex.bdiv3.runtime.ICapability getCapability()
Get the capa.- Returns:
- The capa.
-
getMyTargets
public java.util.List<jadex.extension.envsupport.environment.ISpaceObject> getMyTargets()
Get the my_targets.- Returns:
- The my_targets.
-
isMissionend
public boolean isMissionend()
Get the missionend.- Returns:
- The missionend.
-
addTarget
public void addTarget(jadex.extension.envsupport.environment.ISpaceObject target)
-
-