jadex.micro.examples.hunterprey
Class EatAction
java.lang.Object
jadex.commons.SimplePropertyObject
jadex.micro.examples.hunterprey.EatAction
- All Implemented Interfaces:
- ISpaceAction, IPropertyObject
public class EatAction
- extends SimplePropertyObject
- implements ISpaceAction
Action for eating food or another creature.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_POINTS
public static final String PROPERTY_POINTS
- The property for the points of a creature.
- See Also:
- Constant Field Values
EatAction
public EatAction()
perform
public Object perform(Map parameters,
IEnvironmentSpace space)
- Performs the action.
- Specified by:
perform in interface ISpaceAction
- Parameters:
parameters - parameters for the actionspace - the environment space
- Returns:
- action return value
Copyright © 2010. All Rights Reserved.