Module
Screeps.Deposit
- Package
- purescript-screeps-classy
- Repository
- purescript/purescript-screeps
Corresponds to the Screeps API StructureExtension
#caseDeposit Source
caseDeposit :: forall a d. Deposit d => (Source -> a) -> (Mineral -> a) -> d -> a
#harvestDeposit Source
harvestDeposit :: forall a e. Creep -> AnyDeposit -> Eff (cmd :: CMD | e) a
#depositLeft Source
depositLeft :: forall a. Deposit a => a -> Int
#depositType Source
depositType :: forall d. Deposit d => d -> ResourceType
#toAnyDeposit Source
toAnyDeposit :: forall r. RoomObject r => r -> Maybe AnyDeposit
#asAnyDeposit Source
asAnyDeposit :: forall s. Deposit s => s -> AnyDeposit
Re-exports from Screeps.Regenerates
#Regenerates Source
class Regenerates s
#ticksToRegeneration Source
ticksToRegeneration :: forall s. Regenerates s => s -> 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