Module

Screeps.RoomObject

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

Corresponds to the Screeps API RoomObject

#RoomObject Source

class RoomObject a 

Any RoomObject with a location, and room containing it.

Instances

#lookupRoom Source

#room Source

room :: forall a. RoomObject a => a -> Room

#pos Source

pos :: forall a. RoomObject a => a -> RoomPosition

#asAnyRoomObject Source

asAnyRoomObject :: forall ro. RoomObject ro => ro -> AnyRoomObject