Package jadex.micro.examples.hunterprey
Class EatAction
- java.lang.Object
- 
- jadex.commons.SimplePropertyObject
- 
- jadex.micro.examples.hunterprey.EatAction
 
 
- 
- All Implemented Interfaces:
- IPropertyObject,- ISpaceAction
 
 public class EatAction extends SimplePropertyObject implements ISpaceAction Action for eating food or another creature.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringPROPERTY_POINTSThe property for the points of a creature.- 
Fields inherited from class jadex.commons.SimplePropertyObjectpcs, properties
 - 
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceActionACTOR_ID, OBJECT_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description EatAction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectperform(java.util.Map parameters, IEnvironmentSpace space)Performs the 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- 
PROPERTY_POINTSpublic static final java.lang.String PROPERTY_POINTS The property for the points of a creature.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
performpublic java.lang.Object perform(java.util.Map parameters, IEnvironmentSpace space)Performs the action.- Specified by:
- performin interface- ISpaceAction
- Parameters:
- parameters- parameters for the action
- space- the environment space
- Returns:
- action return value
 
 
- 
 
-