package gameServer import ( "daydev.org/shipsgs/internal/config" "daydev.org/shipsgs/internal/utils" ) type GameServer struct { Logger *utils.Logger Config *config.S_Config maxLobbies int currentLobbies int maxPlayers int currentPlayers int } func (m *GameServer) Init(logger *utils.Logger, config *config.S_Config) { m.Logger = logger m.Config = config m.maxLobbies = m.Config.MaxLobbies m.maxPlayers = m.Config.MaxPlayers m.currentLobbies = 0 m.currentPlayers = 0 } func (m *GameServer) Update() { } func (m *GameServer) Scheduled1S() { } func (m *GameServer) Scheduled10S() { }