Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { Type ActivityType From uuid.UUID Value interface{} }
type ActivityType ¶
type ActivityType int
const ( SetName ActivityType = iota SetRoleset Reconnect Start Vote NightAction Quit ResetGame Awoo )
type GameChannel ¶
type GameChannel chan *Activity
GameChannel provides a way for the players to communicate to the game. It is a one-way communication.
Click to show internal directories.
Click to hide internal directories.