bumping types around
This commit is contained in:
parent
f5353c5de2
commit
b945cc1fb6
1 changed files with 10 additions and 6 deletions
|
@ -14,20 +14,24 @@ import Types.Subsystems
|
|||
|
||||
data GameData = GameData
|
||||
{ gameState :: TVar State
|
||||
, gameCurrentLevel :: Tvar Level
|
||||
-- , gameCurrentLevel :: Tvar Level
|
||||
, gameSubsystems :: Subsystems
|
||||
, gameActionTranslation :: TVar ActionTranslation
|
||||
, gameEnded :: TVar Bool
|
||||
}
|
||||
|
||||
data State
|
||||
= Running
|
||||
| Paused
|
||||
deriving (Enum, Eq, Show)
|
||||
= Loading
|
||||
| Menu MenuState
|
||||
| MainGame Level
|
||||
deriving (Eq, Show)
|
||||
|
||||
data MenuState
|
||||
= MenuMain
|
||||
| MenuSettings
|
||||
|
||||
data Level
|
||||
= MainMenu
|
||||
| DNAMenu
|
||||
= DNAMenu
|
||||
| Sewer01
|
||||
| Sewer02
|
||||
| Sewer03
|
||||
|
|
Loading…
Reference in a new issue