aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/game/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/game/models.go')
-rw-r--r--backend/game/models.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/backend/game/models.go b/backend/game/models.go
index 13e3d0f..6c299d6 100644
--- a/backend/game/models.go
+++ b/backend/game/models.go
@@ -9,13 +9,13 @@ import (
type gameState = api.GameState
const (
- gameStateClosed gameState = api.GameStateClosed
- gameStateWaitingEntries gameState = api.GameStateWaitingEntries
- gameStateWaitingStart gameState = api.GameStateWaitingStart
- gameStatePrepare gameState = api.GameStatePrepare
- gameStateStarting gameState = api.GameStateStarting
- gameStateGaming gameState = api.GameStateGaming
- gameStateFinished gameState = api.GameStateFinished
+ gameStateClosed gameState = api.Closed
+ gameStateWaitingEntries gameState = api.WaitingEntries
+ gameStateWaitingStart gameState = api.WaitingStart
+ gameStatePrepare gameState = api.Prepare
+ gameStateStarting gameState = api.Starting
+ gameStateGaming gameState = api.Gaming
+ gameStateFinished gameState = api.Finished
)
type game struct {