10 lines
123 B
Go
10 lines
123 B
Go
|
package game
|
||
|
|
||
|
func (gm *Game) StartGame() {
|
||
|
gm.mu.Lock()
|
||
|
defer gm.mu.Unlock()
|
||
|
|
||
|
gm.state = STATE_PLAY
|
||
|
gm.eng.Update()
|
||
|
}
|