Split off functionality of updating a player's board status and broadcasting it to its own function so that just that can be overridden.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3768 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Mike Thomas
2005-11-29 02:46:55 +00:00
parent 852f32696b
commit 8e35258105
@@ -117,6 +117,15 @@ public abstract class PuzzleManager extends GameManager
{
super.playerGameDidEnd(pidx);
updateSummaryOnDeath(pidx);
}
/**
* Updates the board summary for a player who has been eliminated and
* performs an update to communicate this change.
*/
protected void updateSummaryOnDeath (int pidx)
{
if (!isAI(pidx)) {
// update the board summary with the player's final board
updateBoardSummary(pidx);