Class Move3DTask
- java.lang.Object
- 
- jadex.commons.SimplePropertyObject
- 
- jadex.extension.envsupport.environment.AbstractTask
- 
- jadex.bdiv3.examples.marsworld.movement.Move3DTask
 
 
 
- 
- All Implemented Interfaces:
- IPropertyObject,- IObjectTask
 
 public class Move3DTask extends AbstractTask Move an object towards a destination.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringPROPERTY_DESTINATIONThe destination property.static java.lang.StringPROPERTY_SCOPEThe scope property.static java.lang.StringPROPERTY_SPEEDThe speed property of the moving object (units per second).static java.lang.StringPROPERTY_TARGETRADIUSThe target radius.static java.lang.StringPROPERTY_TYPENAMEThe destination property.static java.lang.StringPROPERTY_VISIONThe vision property of the moving object (radius in units).- 
Fields inherited from class jadex.extension.envsupport.environment.AbstractTaskcondition, finished, PROPERTY_CONDITION
 - 
Fields inherited from class jadex.commons.SimplePropertyObjectpcs, properties
 - 
Fields inherited from interface jadex.extension.envsupport.environment.IObjectTaskPROPERTY_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description Move3DTask()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(IEnvironmentSpace space, ISpaceObject obj, long progress, IClockService clock)Executes the task.protected static voidprocessVision(IEnvironmentSpace space, ISpaceObject obj, IExternalAccess agent)- 
Methods inherited from class jadex.extension.envsupport.environment.AbstractTaskisFinished, setFinished, shutdown, start
 - 
Methods inherited from class jadex.commons.SimplePropertyObjectaddPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.commons.IPropertyObjectgetProperty, getPropertyNames, hasProperty, setProperty
 
- 
 
- 
- 
- 
Field Detail- 
PROPERTY_TYPENAMEpublic static final java.lang.String PROPERTY_TYPENAME The destination property.- See Also:
- Constant Field Values
 
 - 
PROPERTY_DESTINATIONpublic static final java.lang.String PROPERTY_DESTINATION The destination property.- See Also:
- Constant Field Values
 
 - 
PROPERTY_SCOPEpublic static final java.lang.String PROPERTY_SCOPE The scope property.- See Also:
- Constant Field Values
 
 - 
PROPERTY_SPEEDpublic static final java.lang.String PROPERTY_SPEED The speed property of the moving object (units per second).- See Also:
- Constant Field Values
 
 - 
PROPERTY_VISIONpublic static final java.lang.String PROPERTY_VISION The vision property of the moving object (radius in units).- See Also:
- Constant Field Values
 
 - 
PROPERTY_TARGETRADIUSpublic static final java.lang.String PROPERTY_TARGETRADIUS The target radius.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
executepublic void execute(IEnvironmentSpace space, ISpaceObject obj, long progress, IClockService clock) Executes the task. Handles exceptions. Subclasses should implement doExecute() instead.- Specified by:
- executein interface- IObjectTask
- Overrides:
- executein class- AbstractTask
- Parameters:
- space- The environment in which the task is executing.
- obj- The object that is executing the task.
- progress- The time that has passed according to the environment executor.
- clock- The clock service.
 
 - 
processVisionprotected static void processVision(IEnvironmentSpace space, ISpaceObject obj, IExternalAccess agent) 
 
- 
 
-