|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectheurgame.event.turn.AbstractTurnIterator
heurgame.event.turn.AbstractTokenBasedIterator
heurgame.event.turn.RoundRobinIterator
heurgame.event.turn.SecondChanceRRIterator
| Field Summary |
| Fields inherited from class heurgame.event.turn.RoundRobinIterator |
currentRound, currentToken, latestTokens, playerHelper, playerTokens, rrLog, totalRounds |
| Fields inherited from class heurgame.event.turn.AbstractTurnIterator |
mylisteners |
| Constructor Summary | |
SecondChanceRRIterator()
|
|
| Method Summary | |
boolean |
hasMore()
|
void |
next()
Shifts state to the next turn, and broadcasts the turnChanged Event |
void |
setup(int numRounds,
java.util.Vector players)
Sets or Resets the state of the Iterator |
| Methods inherited from class heurgame.event.turn.RoundRobinIterator |
getCurrentToken, logState, updateActiveTokens |
| Methods inherited from class heurgame.event.turn.AbstractTurnIterator |
addTurnListener, notifyTurnListeners, removeAllTurnListeners, removeTurnListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SecondChanceRRIterator()
| Method Detail |
public void setup(int numRounds,
java.util.Vector players)
RoundRobinIterator
setup in interface TokenBasedsetup in class RoundRobinIteratornumRounds - Positive integerplayers - A Vector of Player Tokens in the desired orderpublic void next()
RoundRobinIterator
next in class RoundRobinIteratorAbstractTurnIterator.next()public boolean hasMore()
hasMore in class RoundRobinIteratorAbstractTurnIterator.hasMore()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||