Module
Screeps.Refillable
- Package
- purescript-screeps-classy
- Repository
- purescript/purescript-screeps
Corresponds to the Screeps API StructureExtension
#energy Source
energy :: forall a. Refillable a => a -> Int
#energyCapacity Source
energyCapacity :: forall a. Refillable a => a -> Int
#toRefillable Source
toRefillable :: forall s. Structure s => s -> Maybe AnyRefillable
Checks that structure is any Refillable
.
#isNotFull Source
isNotFull :: forall a. Refillable a => a -> Boolean
Check whether Refillable
is not at full capacity
#isFull Source
isFull :: forall a. Refillable a => a -> Boolean
Check whether Refillable
is not at full capacity
- 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