Took out annotation (Haddock complained) and improved path type

This commit is contained in:
jbetzend 2014-04-18 16:07:26 +02:00
parent a2433638df
commit ee8c91237c
2 changed files with 4 additions and 7 deletions

View File

@ -33,10 +33,7 @@ import Linear
import Map.Types
import Map.StaticMaps
type MapEntry = (
Float, -- ^ Height
TileType
)
type MapEntry = (Float, TileType)
type GraphicsMap = Array (Int, Int) MapEntry

View File

@ -9,7 +9,7 @@ type PlayMap = Array (XCoord, ZCoord) Node
type XCoord = Int
type ZCoord = Int
type YCoord = Float
type YCoord = Float
data MapType = GrassIslandMap
| DesertMap
@ -22,10 +22,10 @@ instance Show PlayerInfo where
show (NoPlayer) = "not occupied"
show (Occupied i) = "occupied by player " ++ (show i)
-- | Path info, is this node part of a path?
-- | Path info, is this node part of a path and if so, where does it lead?
data PathInfo = NoPath
| Path
| Border
| Paths [(XCoord, YCoord)]
deriving (Show, Eq)
-- | What resources can be harvested here?