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();
}