Note that endRound() should not be called immediately prior to endGame(),

rather endGame() should be called and the last round is never officially
"ended". This ensures that GameObject.roundId is left in a sane state at the
end of the game in case of a rematch.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@445 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-10-09 23:47:37 +00:00
parent a88a5a3482
commit d136386348
@@ -580,8 +580,9 @@ public class EZGameControl extends BaseControl
/**
* Ends the current round. If nextRoundDelay is greater than zero, the next round will be
* started in the specified number of seconds, otherwise no next round
* will be started.
* started in the specified number of seconds, otherwise no next round will be started. This
* method should not be called at the end of the last round, instead <code>endGame()</code>
* should be called.
*/
public function endRound (nextRoundDelay :int = 0) :void
{