diff --git a/pituicat.cabal b/pituicat.cabal index 15d6959..3a91887 100644 --- a/pituicat.cabal +++ b/pituicat.cabal @@ -20,7 +20,7 @@ executable pituicat other-modules: Types , Types.Application , Types.Subsystems - , Types.Map + , Types.GameMap -- other-extensions: build-depends: base ^>=4.13.0.0 , affection diff --git a/src/Types.hs b/src/Types.hs index c19876b..4f79af7 100644 --- a/src/Types.hs +++ b/src/Types.hs @@ -4,4 +4,4 @@ module Types import Types.Application as T import Types.Subsystems as T -import Types.Map as T +import Types.GameMap as T diff --git a/src/Types/Map.hs b/src/Types/Map.hs deleted file mode 100644 index 390c1e3..0000000 --- a/src/Types/Map.hs +++ /dev/null @@ -1,16 +0,0 @@ -module Types.Map where - -import qualified Data.Matrix as Mat - -import Linear - -data Map = Map - { mapLayers :: [(Word, Layer)] -- | (Index, Tile leyer) - , mapStart :: (Word, V2 Word) -- | (Layer index, Position) - } - -type Layer = Mat.Matrix Tile - -type Tile = V2 Float - -type LayerDescriptor = FilePath