marauroa.game
Class Test_RPScheduler.FakeRuleProcessor

java.lang.Object
marauroa.game.Test_RPScheduler.FakeRuleProcessor
- All Implemented Interfaces:
- RPRuleProcessor
- Enclosing class:
- Test_RPScheduler
- private static class Test_RPScheduler.FakeRuleProcessor
- extends java.lang.Object
- implements RPRuleProcessor
|
Field Summary |
(package private) int |
i
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
int i
Test_RPScheduler.FakeRuleProcessor
public Test_RPScheduler.FakeRuleProcessor()
setContext
public void setContext(RPZone zone)
- Description copied from interface:
RPRuleProcessor
- Set the context where the actions are executed.
- Specified by:
setContext in interface RPRuleProcessor
approvedActions
public void approvedActions(RPObject.ID id,
RPActionList actionList)
- Description copied from interface:
RPRuleProcessor
- Pass the whole list of actions so that it can approve or deny the actions in it.
- Specified by:
approvedActions in interface RPRuleProcessor
getActionsExecuted
public int getActionsExecuted()
execute
public RPAction.Status execute(RPObject.ID id,
RPAction action)
- Description copied from interface:
RPRuleProcessor
- Execute an action in the name of a player.
- Specified by:
execute in interface RPRuleProcessor
nextTurn
public void nextTurn()
- Description copied from interface:
RPRuleProcessor
- Notify it when a new turn happens
- Specified by:
nextTurn in interface RPRuleProcessor