remove doubles
This commit is contained in:
parent
12b788af5e
commit
bb364d6b1a
|
@ -20,7 +20,7 @@ executable pituicat
|
||||||
other-modules: Types
|
other-modules: Types
|
||||||
, Types.Application
|
, Types.Application
|
||||||
, Types.Subsystems
|
, Types.Subsystems
|
||||||
, Types.Map
|
, Types.GameMap
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: base ^>=4.13.0.0
|
build-depends: base ^>=4.13.0.0
|
||||||
, affection
|
, affection
|
||||||
|
|
|
@ -4,4 +4,4 @@ module Types
|
||||||
|
|
||||||
import Types.Application as T
|
import Types.Application as T
|
||||||
import Types.Subsystems as T
|
import Types.Subsystems as T
|
||||||
import Types.Map as T
|
import Types.GameMap as T
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in a new issue