public class GetPosition extends SimplePropertyObject implements ISpaceAction
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_POSITION |
static String |
PARAMETER_VELOCITY |
static String |
SET_POSITION
The constant identifier for this action.
|
ACTOR_ID, OBJECT_ID
Constructor and Description |
---|
GetPosition() |
Modifier and Type | Method and Description |
---|---|
Object |
perform(Map parameters,
IEnvironmentSpace space)
Perform an action.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, hasProperty, setProperty
public static final String SET_POSITION
public static final String PARAMETER_POSITION
public static final String PARAMETER_VELOCITY
public Object perform(Map parameters, IEnvironmentSpace space)
perform
in interface ISpaceAction
parameters
- parameters for the actionspace
- the environment spaceCopyright © 2012. All Rights Reserved.