jadex.micro.examples.fireflies
Class MoveAction

java.lang.Object
  extended by jadex.commons.SimplePropertyObject
      extended by jadex.micro.examples.fireflies.MoveAction
All Implemented Interfaces:
ISpaceAction, IPropertyObject

public class MoveAction
extends SimplePropertyObject
implements ISpaceAction

Action for moving a bug to one of its neighbor fields.


Field Summary
static java.lang.String PARAMETER_CLOCK
          The clock parameter.
static java.lang.String PARAMETER_DIRECTION
          The direction parameter.
static java.lang.String PARAMETER_POSITION
          The position parameter.
 
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
 
Fields inherited from interface jadex.application.space.envsupport.environment.ISpaceAction
ACTOR_ID, OBJECT_ID
 
Constructor Summary
MoveAction()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
 

Field Detail

PARAMETER_POSITION

public static final java.lang.String PARAMETER_POSITION
The position parameter.

See Also:
Constant Field Values

PARAMETER_DIRECTION

public static final java.lang.String PARAMETER_DIRECTION
The direction parameter.

See Also:
Constant Field Values

PARAMETER_CLOCK

public static final java.lang.String PARAMETER_CLOCK
The clock parameter.

See Also:
Constant Field Values
Constructor Detail

MoveAction

public MoveAction()
Method Detail

perform

public java.lang.Object perform(java.util.Map parameters,
                                IEnvironmentSpace space)
Perform an action.

Specified by:
perform in interface ISpaceAction


Copyright © 2010. All Rights Reserved.