Package com.threerings.parlor.data

Examples of com.threerings.parlor.data.Table


    // documentation inherited
    public void entryUpdated (EntryUpdatedEvent<Table> event)
    {
        if (event.getName().equals(_tableField)) {
            Table table = event.getEntry();
            // check to see if we just joined or left a table
            checkSeatedness(table);
            // now let the observer know what's up
            _observer.tableUpdated(table);
        }
View Full Code Here


            // we've left, it's none of our concern anymore
            log.info("Table created, but no lobby. [tableId=" + tableId + "].");
            return;
        }

        Table table = _tlobj.getTables().get(tableId);
        if (table == null) {
            log.warning("Table created, but where is it? [tableId=" + tableId + "]");
            return;
        }
View Full Code Here

     * Checks to see if we're a member of this table and notes it as our
     * table, if so.
     */
    protected void checkSeatedness (Table table)
    {
        Table oldTable = _ourTable;

        // if this is the same table as our table, clear out our table reference and allow it to be
        // added back if we are still in the table
        if (table.equals(_ourTable)) {
            _ourTable = null;
View Full Code Here

TOP

Related Classes of com.threerings.parlor.data.Table

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.