aboutsummaryrefslogtreecommitdiff
path: root/src/Game/State.hs
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-02-15 22:53:22 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-02-15 22:53:22 +0000
commit11120a24b6927073d55d2e56b4b911817dedaae2 (patch)
tree0c591330afba9f37a4ff0110a022b213aedb31e0 /src/Game/State.hs
parent6f2644afcb52e4cfb60169de2cb3efdff62b17b2 (diff)
downloadspace-plat-hs-11120a24b6927073d55d2e56b4b911817dedaae2.tar.gz
space-plat-hs-11120a24b6927073d55d2e56b4b911817dedaae2.zip
Game state, HUD, ... WIP
Exploring ideas.
Diffstat (limited to 'src/Game/State.hs')
-rw-r--r--src/Game/State.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Game/State.hs b/src/Game/State.hs
new file mode 100644
index 0000000..9988936
--- /dev/null
+++ b/src/Game/State.hs
@@ -0,0 +1,6 @@
+module Game.State (State (..)) where
+
+data State = State
+ { batteries :: Int,
+ totalBatteries :: Int
+ }