Module

Screeps.Structure

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

Corresponds to the Screeps API Structure

#Structural Source

#Structure Source

#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

#destroy Source

destroy :: forall e a. Structure a => a -> Eff (cmd :: CMD | e) ReturnCode

#isActive Source

isActive :: forall e a. Structure a => a -> Eff (cmd :: CMD | e) Boolean

#unsafeCast Source

#toAnyStructure Source

toAnyStructure :: forall a. Structure a => a -> AnyStructure

#fromAnyStructure Source

#asAnyStructure Source

asAnyStructure :: forall a. Structure a => a -> AnyStructure

#numStructures Source