Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomDurationMs ¶
func Screenshot ¶
Types ¶
type GameManager ¶
type GameManager struct {
// contains filtered or unexported fields
}
func NewGameManager ¶
func NewGameManager(gr *reader.GameReader) *GameManager
func (*GameManager) CreateOnlineGame ¶
func (gm *GameManager) CreateOnlineGame(gameCounter int) (string, error)
func (*GameManager) ExitGame ¶
func (gm *GameManager) ExitGame() error
ExitGame tries to close the socket and also exit via game menu, what happens faster.
func (*GameManager) JoinOnlineGame ¶
func (gm *GameManager) JoinOnlineGame(gameName, password string) error
func (*GameManager) NewGame ¶
func (gm *GameManager) NewGame() error
Click to show internal directories.
Click to hide internal directories.