Package org.cspoker.common.api.lobby.event

Examples of org.cspoker.common.api.lobby.event.TableCreatedEvent


    TableId tableId = new TableId(counter.getAndIncrement());
    PokerTable table = new PokerTable(tableId, name, configuration, accountContext);
    tables.put(tableId, table);
   
    for (LobbyListener listener : lobbyListeners) {
      listener.onTableCreated(new TableCreatedEvent(accountContext.getPlayer().getMemento(), new Table(tableId, name)));
    }
   
    return table.getTableInformation();
  }
View Full Code Here

TOP

Related Classes of org.cspoker.common.api.lobby.event.TableCreatedEvent

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.