Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpotSession ¶
type SpotSession struct { sync.RWMutex ZoneController *zone.Controller DamageController *damage.Controller GameController *game_controller.GameController // Channel for sending game event (one of StartGameEvent, EndGameEvent) GameEventBroadcaster *broadcast.Broadcaster LastGameEvent interface{} // Map with players posiiton // // key - player uuid // value - player state PlayersStateMap *player_state.PlayerStateMap // contains filtered or unexported fields }
func NewSpotSession ¶
func (*SpotSession) Close ¶
func (ss *SpotSession) Close()
func (*SpotSession) NewPlayersState ¶
func (ss *SpotSession) NewPlayersState(key uuid.UUID, value *player_state.PlayerState) error
func (*SpotSession) Start ¶
func (ss *SpotSession) Start(hunterUuid uuid.UUID, playersList *player_list.PlayerList) error
Click to show internal directories.
Click to hide internal directories.