Module: server/store/actions/actionsCreator

Methods

(static) sitted()

_______________________________________ Actions to send informations to player _______________________________________
Source:

(inner) sit(table, player) → {Object}

Creates an action to sit a player at a table.
Parameters:
Name Type Description
table string The ID of the table.
player Object The player object.
Properties
Name Type Description
id string The ID of the player.
name string The name of the player.
Source:
Returns:
The action object with type and payload.
Type
Object