tracer/src/Types/StateData.hs

27 lines
481 B
Haskell
Raw Normal View History

module Types.StateData where
import Data.Matrix
import Data.Map
import Data.Text
import NanoVG
import Types.ReachPoint
import Types.Map
import Types.ImgId
import Types.FontId
import Types.Animation
data StateData
2018-06-07 22:29:46 +00:00
= None
| LoadData
{ loadAssetImages :: Map ImgId Image
, loadAssetAnims :: Map AnimId Animation
}
2018-06-25 21:45:53 +00:00
| MenuData
{ mapMat :: Matrix TileState
, imgMat :: Matrix (Maybe ImgId)
, reachPoints :: [ReachPoint]
}
2018-06-07 22:29:46 +00:00
deriving (Eq)