Class GetPosition
- java.lang.Object
-
- jadex.commons.SimplePropertyObject
-
- jadex.extension.envsupport.environment.space2d.action.GetPosition
-
- All Implemented Interfaces:
IPropertyObject
,ISpaceAction
public class GetPosition extends SimplePropertyObject implements ISpaceAction
Set the position action.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PARAMETER_POSITION
static java.lang.String
PARAMETER_VELOCITY
static java.lang.String
SET_POSITION
The constant identifier for this action.-
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
-
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceAction
ACTOR_ID, OBJECT_ID
-
-
Constructor Summary
Constructors Constructor Description GetPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
perform(java.util.Map parameters, IEnvironmentSpace space)
Perform an action.-
Methods inherited from class jadex.commons.SimplePropertyObject
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
-
-
-
-
Field Detail
-
SET_POSITION
public static final java.lang.String SET_POSITION
The constant identifier for this action.- See Also:
- Constant Field Values
-
PARAMETER_POSITION
public static final java.lang.String PARAMETER_POSITION
- See Also:
- Constant Field Values
-
PARAMETER_VELOCITY
public static final java.lang.String PARAMETER_VELOCITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
perform
public java.lang.Object perform(java.util.Map parameters, IEnvironmentSpace space)
Perform an action.- Specified by:
perform
in interfaceISpaceAction
- Parameters:
parameters
- parameters for the actionspace
- the environment space
-
-