add getter for our currently seated table

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@260 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Nathan Curtis
2007-03-22 18:45:56 +00:00
parent ab29481f26
commit e1ca18f8ed
2 changed files with 16 additions and 0 deletions
@@ -134,6 +134,14 @@ public class TableDirector extends BasicDirector
return (_ourTable != null);
}
/**
* Returns the table this client is currently seated at, or null.
*/
public function getSeatedTable () :Table
{
return _ourTable;
}
/**
* Sends a request to create a table with the specified game configuration. This user will
* become the owner of this table and will be added to the first position in the table. The
@@ -130,6 +130,14 @@ public class TableDirector extends BasicDirector
return (_ourTable != null);
}
/**
* Returns the current table this client is seated at, or null.
*/
public Table getSeatedTable ()
{
return _ourTable;
}
/**
* Sends a request to create a table with the specified game configuration. This user will
* become the owner of this table and will be added to the first position in the table. The