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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user