Allow the TableManager to be configured to create subclasses of Table.

Commented out unneeded flash client code in Table.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@131 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-11-17 23:24:14 +00:00
parent c7ff0391a6
commit 52febf265b
3 changed files with 120 additions and 100 deletions
@@ -69,7 +69,14 @@ public class Table
public TableConfig tconfig;
/**
* Creates a new table instance, and assigns it the next monotonically
* Constructs a blank table instance, suitable for unserialization.
*/
public Table ()
{
}
/**
* Initializes a new table instance, and assigns it the next monotonically
* increasing table id.
*
* @param lobbyOid the object id of the lobby in which this table is
@@ -78,7 +85,7 @@ public class Table
* @param config the configuration of the game being matchmade by this
* table.
*/
public Table (int lobbyOid, TableConfig tconfig, GameConfig config)
public void init (int lobbyOid, TableConfig tconfig, GameConfig config)
{
// assign a unique table id
tableId = ++_tableIdCounter;
@@ -104,13 +111,6 @@ public class Table
}
}
/**
* Constructs a blank table instance, suitable for unserialization.
*/
public Table ()
{
}
/**
* Returns true if there is no one sitting at this table.
*/