diff options
Diffstat (limited to 'Level.hs')
-rw-r--r-- | Level.hs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |