Module
Screeps.Structure
- Package
- purescript-screeps-classy
- Repository
- purescript/purescript-screeps
Corresponds to the Screeps API Structure
#Structure Source
class (RoomObject a, Structural a, HasId a) <= Structure a where
Members
_structureType :: Proxy a -> StructureType
Instances
#StructureType Source
newtype StructureType
This class fixes an omission in original hierarchy class,
Constructors
Instances
#showStructure Source
showStructure :: forall s. Structure s => s -> String
#structureType Source
structureType :: forall a. Structural a => a -> StructureType
#unsafeCast Source
unsafeCast :: forall a. Structure a => StructureType -> AnyStructure -> Maybe a
#toAnyStructure Source
toAnyStructure :: forall a. Structure a => a -> AnyStructure
#fromAnyStructure Source
fromAnyStructure :: forall a. Structure a => AnyStructure -> Maybe a
#asAnyStructure Source
asAnyStructure :: forall a. Structure a => a -> AnyStructure
#numStructures Source
numStructures :: StructureType -> Int -> Int
- Modules
- Screeps
- Screeps.
BodyPartType - Screeps.
Color - Screeps.
Constants - Screeps.
ConstructionSite - Screeps.
Container - Screeps.
Controller - Screeps.
Coolsdown - Screeps.
Coord - Screeps.
Creep - Screeps.
Decays - Screeps.
Deposit - Screeps.
Destructible - Screeps.
Direction - Screeps.
Effects - Screeps.
Extension - Screeps.
Extractor - Screeps.
FFI - Screeps.
FindType - Screeps.
Flag - Screeps.
Game - Screeps.
Id - Screeps.
IntMap - Screeps.
KeeperLair - Screeps.
Lab - Screeps.
Link - Screeps.
Map - Screeps.
Market - Screeps.
Memory - Screeps.
Mineral - Screeps.
Names - Screeps.
Nuke - Screeps.
Nuker - Screeps.
Observer - Screeps.
Owned - Screeps.
Path - Screeps.
Path. Cache - Screeps.
Portal - Screeps.
PowerBank - Screeps.
PowerSpawn - Screeps.
Progress - Screeps.
Rampart - Screeps.
Refillable - Screeps.
Regenerates - Screeps.
Resource - Screeps.
ReturnCode - Screeps.
Road - Screeps.
Room - Screeps.
RoomObject - Screeps.
RoomPosition - Screeps.
RoomPosition. Type - Screeps.
Source - Screeps.
Spawn - Screeps.
Storage - Screeps.
Stores - Screeps.
Structure - Screeps.
Terminal - Screeps.
Tower - Screeps.
Types - Screeps.
Wall