Module

Screeps.Map

Package
purescript-screeps-classy
Repository
purescript/purescript-screeps

Corresponds to the Screeps API Map

#DirMap Source

newtype DirMap a

Constructors

#keys Source

keys :: forall a. DirMap a -> Array Direction

#toArray Source

toArray :: forall a. DirMap a -> Array (Tuple Direction a)

#lookup Source

lookup :: forall a. Direction -> DirMap a -> Maybe a

#ExitToRoom Source

type ExitToRoom = { exit :: FindType Unit, room :: RoomName }

#findRoute Source

#getRoomLinearDistance Source

#getTerrainAt Source