summaryrefslogtreecommitdiffstats
path: root/Game.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2010-03-09 03:19:34 +0100
committerMatthias Schiffer <matthias@gamezock.de>2010-03-09 03:19:34 +0100
commit2bb85618366681c7c97f8b36cc85a18c45beb924 (patch)
treef3874e2fdd85cd9c5c13839e46d751d3f8966af6 /Game.hs
parentaa00912206351431e931cde0645712c3016edf70 (diff)
downloadhtanks-2bb85618366681c7c97f8b36cc85a18c45beb924.tar
htanks-2bb85618366681c7c97f8b36cc85a18c45beb924.zip
Renamed some Tank and Shoot accessors
Diffstat (limited to 'Game.hs')
-rw-r--r--Game.hs18
1 files changed, 9 insertions, 9 deletions
diff --git a/Game.hs b/Game.hs
index 1f85376..b31009e 100644
--- a/Game.hs
+++ b/Game.hs
@@ -17,16 +17,16 @@ import qualified Data.Map as M
data Tank = Tank
- { posx :: !Micro
- , posy :: !Micro
- , dir :: !Micro
- , aim :: !Micro
- , speed :: !Micro
- , turnspeed :: !Micro
- , moving :: !Bool
+ { tankX :: !Micro
+ , tankY :: !Micro
+ , tankDir :: !Micro
+ , tankAim :: !Micro
+ , tankSpeed :: !Micro
+ , tankTurnspeed :: !Micro
+ , tankMoving :: !Bool
, tankShootSpeed :: !Micro
, tankShootBounces :: !Int
- , shootsLeft :: !Int
+ , tankShootsLeft :: !Int
} deriving Show
data Shoot = Shoot
@@ -34,7 +34,7 @@ data Shoot = Shoot
, shootY :: !Micro
, shootDir :: !Micro
, shootSpeed :: !Micro
- , bouncesLeft :: !Int
+ , shootBouncesLeft :: !Int
, shootTank :: !Int
} deriving Show