jadex.micro.examples.heatbugs
Class MoveAction

java.lang.Object
  extended by jadex.commons.SimplePropertyObject
      extended by jadex.micro.examples.heatbugs.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 String EMIT_HEAT
          The constant identifier for this action.
static String PARAMETER_HEAT
           
static 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
 Object perform(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

EMIT_HEAT

public static final String EMIT_HEAT
The constant identifier for this action.

See Also:
Constant Field Values

PARAMETER_HEAT

public static final String PARAMETER_HEAT
See Also:
Constant Field Values

PARAMETER_POSITION

public static final String PARAMETER_POSITION
The position parameter.

See Also:
Constant Field Values
Constructor Detail

MoveAction

public MoveAction()
Method Detail

perform

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

Specified by:
perform in interface ISpaceAction


Copyright © 2010. All Rights Reserved.