|
|||||||||
| Home >> All >> marauroa >> [ game overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
marauroa.game
Interface RPRuleProcessor

- All Known Implementing Classes:
- MarauroaRPRuleProcessor, Test_RPScheduler.FakeRuleProcessor
- public interface RPRuleProcessor
Interface for the class that is in charge of executing actions. Implement it to personalize the game
| Method Summary | |
void |
approvedActions(RPObject.ID id,
RPActionList actionList)
Pass the whole list of actions so that it can approve or deny the actions in it. |
RPAction.Status |
execute(RPObject.ID id,
RPAction action)
Execute an action in the name of a player. |
void |
nextTurn()
Notify it when a new turn happens |
void |
setContext(RPZone zone)
Set the context where the actions are executed. |
| Method Detail |
setContext
public void setContext(RPZone zone)
- Set the context where the actions are executed.
approvedActions
public void approvedActions(RPObject.ID id, RPActionList actionList)
- Pass the whole list of actions so that it can approve or deny the actions in it.
execute
public RPAction.Status execute(RPObject.ID id, RPAction action)
- Execute an action in the name of a player.
nextTurn
public void nextTurn()
- Notify it when a new turn happens
|
|||||||||
| Home >> All >> marauroa >> [ game overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC