Oops; make getPlayerCount() public, as it was always intended to be.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1803 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: GameObject.dobj,v 1.15 2002/10/15 23:07:23 shaper Exp $
|
// $Id: GameObject.dobj,v 1.16 2002/10/16 00:19:23 shaper Exp $
|
||||||
|
|
||||||
package com.threerings.parlor.game;
|
package com.threerings.parlor.game;
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ public class GameObject extends PlaceObject
|
|||||||
/**
|
/**
|
||||||
* Returns the number of players in the game.
|
* Returns the number of players in the game.
|
||||||
*/
|
*/
|
||||||
protected int getPlayerCount ()
|
public int getPlayerCount ()
|
||||||
{
|
{
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int size = players.length;
|
int size = players.length;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: GameObject.java,v 1.10 2002/10/15 23:07:23 shaper Exp $
|
// $Id: GameObject.java,v 1.11 2002/10/16 00:19:23 shaper Exp $
|
||||||
|
|
||||||
package com.threerings.parlor.game;
|
package com.threerings.parlor.game;
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ public class GameObject extends PlaceObject
|
|||||||
/**
|
/**
|
||||||
* Returns the number of players in the game.
|
* Returns the number of players in the game.
|
||||||
*/
|
*/
|
||||||
protected int getPlayerCount ()
|
public int getPlayerCount ()
|
||||||
{
|
{
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int size = players.length;
|
int size = players.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user