knowyt/server/src/game/startGame.go

10 lines
123 B
Go
Raw Normal View History

2021-08-12 23:07:06 +00:00
package game
func (gm *Game) StartGame() {
gm.mu.Lock()
defer gm.mu.Unlock()
gm.state = STATE_PLAY
gm.eng.Update()
}