Add tilemap floors to rooms

This commit is contained in:
jgk
2021-06-15 14:56:32 +02:00
parent 73bd407c49
commit da631e3b37
31 changed files with 181 additions and 66 deletions
+14
View File
@@ -0,0 +1,14 @@
{-# LANGUAGE TemplateHaskell #-}
module Data.Tile
where
import Geometry.Data
import Control.Lens
data Tile = Tile
{ _tilePoly :: [Point2]
, _tileCenter :: Point2
, _tileX :: Point2
, _tileY :: Point2
, _tileZ :: Float
}
makeLenses ''Tile