Add tilemap floors to rooms
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user