Oh the humanity. Modified the turn game services to be a "mix-in" using
the bastard Java technique of delegates and interfaces. I feel like I'm doing OOP with one hand tied behind my back. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@989 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: GameManager.java,v 1.17 2001/12/14 00:11:18 mdb Exp $
|
||||
// $Id: GameManager.java,v 1.18 2002/02/12 06:57:29 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.game;
|
||||
|
||||
@@ -65,6 +65,14 @@ public class GameManager
|
||||
_playerOids = new int[players.length];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of the usernames of the players in this game.
|
||||
*/
|
||||
public String[] getPlayers ()
|
||||
{
|
||||
return _players;
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected void didStartup ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user