public class GoAction
extends jadex.commons.SimplePropertyObject
implements jadex.extension.envsupport.environment.ISpaceAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DIRECTION |
static java.lang.String |
DOWN |
static java.lang.String |
LEFT |
static java.lang.String |
RIGHT |
static java.lang.String |
UP
The directions.
|
Constructor and Description |
---|
GoAction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getId()
Returns the ID of the action.
|
java.lang.Object |
perform(java.util.Map<java.lang.String,java.lang.Object> parameters,
jadex.extension.envsupport.environment.IEnvironmentSpace space)
Performs the action.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
public static final java.lang.String UP
public static final java.lang.String DOWN
public static final java.lang.String LEFT
public static final java.lang.String RIGHT
public static final java.lang.String DIRECTION
public java.lang.Object perform(java.util.Map<java.lang.String,java.lang.Object> parameters, jadex.extension.envsupport.environment.IEnvironmentSpace space)
perform
in interface jadex.extension.envsupport.environment.ISpaceAction
parameters
- parameters for the actionspace
- the environment spacepublic java.lang.Object getId()