summaryrefslogtreecommitdiffstats
path: root/src/Tank.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tank.hs')
-rw-r--r--src/Tank.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Tank.hs b/src/Tank.hs
index 21bc0da..2fbf612 100644
--- a/src/Tank.hs
+++ b/src/Tank.hs
@@ -14,4 +14,5 @@ data Tank = Tank
, tankBulletSpeed :: !Micro
, tankBulletBounces :: !Int
, tankBulletsLeft :: !Int
- } deriving Show
+ , tankLife :: !Int
+ } deriving (Eq, Show)