aboutsummaryrefslogtreecommitdiff
path: root/src/Game/State.hs
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-03-05 14:55:25 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-03-09 12:21:05 +0000
commit7a714cc457323bff6b4a73ec9e7b58c7a63381ec (patch)
tree23305ab55b3c79fb6bb62c3df56baa01b28890fe /src/Game/State.hs
parentbeecc1e2af08f81f5cb5d2ebb93aaef59b20fcd5 (diff)
downloadspace-plat-hs-7a714cc457323bff6b4a73ec9e7b58c7a63381ec.tar.gz
space-plat-hs-7a714cc457323bff6b4a73ec9e7b58c7a63381ec.zip
Exit placement on the last battery
Diffstat (limited to 'src/Game/State.hs')
-rw-r--r--src/Game/State.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Game/State.hs b/src/Game/State.hs
index 8987a2e..840c0ae 100644
--- a/src/Game/State.hs
+++ b/src/Game/State.hs
@@ -7,5 +7,6 @@ data State = State
totalLives :: Int,
hitDelay :: Int,
gameOverDelay :: Int,
- exit :: Bool
+ exit :: Bool,
+ lastBattery :: (Int, Int)
}