From 19af9eb71aacf0071ed21be97a4ae1a71cc2e616 Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Fri, 16 May 2008 21:08:26 +0000 Subject: [PATCH] Indicate that isActivePlayer is a better way to see if a player is in the game than accessing playerStatus directly git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@597 c613c5cb-e716-0410-b11b-feb51c14d237 --- .../com/threerings/parlor/game/data/GameObject.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/java/com/threerings/parlor/game/data/GameObject.java b/src/java/com/threerings/parlor/game/data/GameObject.java index c4da3cfd..0e9cb82a 100644 --- a/src/java/com/threerings/parlor/game/data/GameObject.java +++ b/src/java/com/threerings/parlor/game/data/GameObject.java @@ -21,7 +21,6 @@ package com.threerings.parlor.game.data; -import com.samskivert.util.ListUtil; import com.samskivert.util.StringUtil; import com.threerings.util.Name; @@ -103,10 +102,13 @@ public class GameObject extends PlaceObject /** The unique round identifier for the current round. */ public int roundId; - /** If null, indicates that all present players are active, or for - * more complex games can be non-null to indicate the current status - * of each player in the game. The status value is one of - * {@link #PLAYER_LEFT_GAME} or {@link #PLAYER_IN_PLAY}. */ + /** + * If null, indicates that all present players are active, or for more complex games can be + * non-null to indicate the current status of each player in the game. The status value is one + * of {@link #PLAYER_LEFT_GAME} or {@link #PLAYER_IN_PLAY}.

+ * Subclasses of GameObject may use other means to determine a player's status in the game, so + * call {@link #isActivePlayer(int)} to see if a player is still participating in a game. + */ public int[] playerStatus; /**