     }
 
     /**
-     * Get the type of party game being played at this table, or
-     * PartyGameCodes.NOT_PARTY_GAME.
-     */
-    public function getPartyGameType () :int
-    {
-        if (config is PartyGameConfig) {
-            return (config as PartyGameConfig).getPartyGameType();
-
-        } else {
-            return PartyGameCodes.NOT_PARTY_GAME;
-        }
+     * Count the number of players currently occupying this table.
+     */
+    public function getOccupiedCount () :int
+    {
+        var count :int = 0;
+        for (var ii :int = 0; ii < occupants.length; ii++) {
+            if (occupants[ii] != null) {
+                count++;
+            }
+        }
+        return count;
     }
 
     /**

    public function isPartyGame () :Boolean
    {
        return (PartyGameCodes.NOT_PARTY_GAME != getPartyGameType());
    }

    /**

        }

        return players;
    }

    /**
