Refactor menu

This commit is contained in:
jgk
2021-04-08 00:44:02 +02:00
parent 294f2509d0
commit ddb1171e2e
9 changed files with 73 additions and 49 deletions
+11
View File
@@ -0,0 +1,11 @@
{-# LANGUAGE StrictData #-}
module Dodge.Data.Menu
where
data MenuState
= LevelMenu Int
| PauseMenu
| GameOverMenu
| OptionMenu
| InGame
deriving (Eq,Ord)