2018-06-04 03:29:20 +00:00
|
|
|
module Types.StateData where
|
|
|
|
|
|
|
|
import Data.Matrix
|
|
|
|
|
|
|
|
import Types.ReachPoint
|
|
|
|
import Types.Map
|
|
|
|
import Types.ImgId
|
|
|
|
|
|
|
|
data StateData
|
2018-06-07 22:29:46 +00:00
|
|
|
= None
|
2018-06-04 03:29:20 +00:00
|
|
|
| MenuData
|
|
|
|
{ mapMat :: Matrix TileState
|
|
|
|
, initCoords :: (Int, Int)
|
|
|
|
, imgMat :: Matrix (Maybe ImgId)
|
|
|
|
, reachPoints :: [ReachPoint]
|
|
|
|
}
|
2018-06-07 22:29:46 +00:00
|
|
|
deriving (Eq)
|