Nixed my earlier fiddling and replaced it with a sensible addition to the turn
game logic which is that we won't try to start the next turn if the game reports being over. If we still see problems with infinite loops in GG games, then we'll reinstate the fiddling. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@28 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -61,4 +61,10 @@ public interface TurnGameObject
|
||||
* Returns the array of player names involved in the game.
|
||||
*/
|
||||
public Name[] getPlayers ();
|
||||
|
||||
/**
|
||||
* Returns true if the game is in play, false if not. If a game is not in
|
||||
* play after a turn has ended, the next turn will not be started.
|
||||
*/
|
||||
public boolean isInPlay ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user