Package jadex.micro.examples.fireflies
Class MoveAction
- java.lang.Object
- 
- jadex.commons.SimplePropertyObject
- 
- jadex.micro.examples.fireflies.MoveAction
 
 
- 
- All Implemented Interfaces:
- IPropertyObject,- ISpaceAction
 
 public class MoveAction extends SimplePropertyObject implements ISpaceAction Action for moving a bug to one of its neighbor fields.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringPARAMETER_CLOCKThe clock parameter.static java.lang.StringPARAMETER_DIRECTIONThe direction parameter.static java.lang.StringPARAMETER_POSITIONThe position parameter.- 
Fields inherited from class jadex.commons.SimplePropertyObjectpcs, properties
 - 
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceActionACTOR_ID, OBJECT_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description MoveAction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectperform(java.util.Map parameters, IEnvironmentSpace space)Perform an action.- 
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- 
PARAMETER_POSITIONpublic static final java.lang.String PARAMETER_POSITION The position parameter.- See Also:
- Constant Field Values
 
 - 
PARAMETER_DIRECTIONpublic static final java.lang.String PARAMETER_DIRECTION The direction parameter.- See Also:
- Constant Field Values
 
 - 
PARAMETER_CLOCKpublic static final java.lang.String PARAMETER_CLOCK The clock parameter.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
performpublic java.lang.Object perform(java.util.Map parameters, IEnvironmentSpace space)Perform an action.- Specified by:
- performin interface- ISpaceAction
- Parameters:
- parameters- parameters for the action
- space- the environment space
 
 
- 
 
-