public class MoveTask
extends jadex.extension.envsupport.environment.AbstractTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CHARGESTATE
The energy charge state.
|
static java.lang.String |
PROPERTY_DESTINATION
The destination property.
|
static java.lang.String |
PROPERTY_SPEED
The speed property (units per second).
|
static java.lang.String |
PROPERTY_TYPENAME
The destination property.
|
static java.lang.String |
PROPERTY_VISION
The vision property (radius in units).
|
| Constructor and Description |
|---|
MoveTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(jadex.extension.envsupport.environment.IEnvironmentSpace space,
jadex.extension.envsupport.environment.ISpaceObject obj,
long progress,
jadex.bridge.service.types.clock.IClockService clock)
Executes the task.
|
static boolean |
isGreater(jadex.extension.envsupport.math.IVector2 pos,
jadex.extension.envsupport.math.IVector2 pos1,
jadex.extension.envsupport.math.IVector2 pos2) |
isFinished, setFinished, shutdown, startaddPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toStringpublic static final java.lang.String PROPERTY_TYPENAME
public static final java.lang.String PROPERTY_DESTINATION
public static final java.lang.String PROPERTY_SPEED
public static final java.lang.String PROPERTY_VISION
public static final java.lang.String PROPERTY_CHARGESTATE
public void execute(jadex.extension.envsupport.environment.IEnvironmentSpace space,
jadex.extension.envsupport.environment.ISpaceObject obj,
long progress,
jadex.bridge.service.types.clock.IClockService clock)
execute in interface jadex.extension.envsupport.environment.IObjectTaskexecute in class jadex.extension.envsupport.environment.AbstractTaskspace - 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.public static boolean isGreater(jadex.extension.envsupport.math.IVector2 pos,
jadex.extension.envsupport.math.IVector2 pos1,
jadex.extension.envsupport.math.IVector2 pos2)