uk.ac.imperial.presage2.core.environment.ActionHandler |
Known Indirect Subclasses
|
Class Overview
An ActionHandler processes an Action
in the environment.
Public Methods
public
abstract
boolean
canHandle
(Action action)
Check if this Handler can handle the given action.
Returns
- true if it can, false otherwise
public
abstract
Object
handle
(Action action, UUID actor)
Parameters
action
| action to handle |
actor
| actor performing this action |
Returns
- May return a further Object to be returned to the actor, or null if not.