public class EatAction extends SimplePropertyObject implements ISpaceAction
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_POINTS
The property for the points of a creature.
|
ACTOR_ID, OBJECT_ID| Constructor and Description |
|---|
EatAction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
perform(Map parameters,
IEnvironmentSpace space)
Performs the action.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProperty, getPropertyNames, hasProperty, setPropertypublic static final String PROPERTY_POINTS
public Object perform(Map parameters, IEnvironmentSpace space)
perform in interface ISpaceActionparameters - parameters for the actionspace - the environment spaceCopyright © 2013. All Rights Reserved.