summaryrefslogtreecommitdiffstats
path: root/Level.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2010-02-25 02:15:26 +0100
committerMatthias Schiffer <matthias@gamezock.de>2010-02-25 02:15:26 +0100
commitb4c3367c63459607f0919e77998d5405634e2003 (patch)
treebbd9a47429a642bc72456946ea8c5e7a646ee815 /Level.hs
parent7f12f41e5fce40042f97d167da9a0fb58e5a1651 (diff)
downloadhtanks-b4c3367c63459607f0919e77998d5405634e2003.tar
htanks-b4c3367c63459607f0919e77998d5405634e2003.zip
Added texture loading
Diffstat (limited to 'Level.hs')
-rw-r--r--Level.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Level.hs b/Level.hs
index c18104e..c99a4b5 100644
--- a/Level.hs
+++ b/Level.hs
@@ -5,14 +5,14 @@ module Level ( Level(..)
import Data.List
data Level = Level
- { floorTiles :: ![[Int]]
- , objectTiles :: ![[Int]]
+ { levelWidth :: !Int
+ , levelHeight :: !Int
} deriving (Show)
testLevel :: Level
testLevel = Level
- { floorTiles = replicate 10 $ replicate 10 0
- , objectTiles = replicate 10 $ replicate 10 0
+ { levelWidth = 10
+ , levelHeight = 10
} \ No newline at end of file