#10 #18 Fix parsing

This commit is contained in:
Tibo De Peuter 2022-12-22 22:05:25 +01:00
parent 5cc96cbdba
commit f3bce99120
18 changed files with 289 additions and 103 deletions

View file

@ -12,7 +12,7 @@ import RPGEngine.Render.Core ( Renderer )
-- A game is the base data container.
data Game = Game {
state :: State
}
} deriving (Eq, Show)
------------------------------- State --------------------------------
@ -33,6 +33,7 @@ data State = Menu
| Win
-- Lost a level
| Lose { restart :: State }
deriving (Eq, Show)
------------------------------- Level --------------------------------