diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-16 22:52:34 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-16 22:52:34 +0100 |
commit | 528154a4645fdb82f623655ded4319d72877444b (patch) | |
tree | d2319ca1877f38ab9ff5a44ecfe404c7ad6992fb /src/Game/State.hs | |
parent | 5b13a8c276199f3ccdfdcb0d96dd7631b7e1b1fb (diff) | |
download | space-plat-hs-528154a4645fdb82f623655ded4319d72877444b.tar.gz space-plat-hs-528154a4645fdb82f623655ded4319d72877444b.zip |
Change stage using a simple transition
Diffstat (limited to 'src/Game/State.hs')
-rw-r--r-- | src/Game/State.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Game/State.hs b/src/Game/State.hs index df2d4fa..5c9de0b 100644 --- a/src/Game/State.hs +++ b/src/Game/State.hs @@ -6,7 +6,7 @@ import qualified Game.Map as M maxLives :: Int maxLives = 4 -data PlayState = InPlay | IntoStage | ExitStarted | ExitDone | GameOver deriving (Eq) +data PlayState = InPlay | IntoStage | ExitStarted | ExitDone Int | GameOver deriving (Eq) data State = State { batteries :: Int, |