Module traits

Source
Expand description

Traits associated with how specific game objects can be used.

Traitsยง

Attackable
Trait for all wrappers over Screeps JavaScript objects which can be the target of Creep.attack.
CanDecay
CostMatrixGet
CostMatrixSet
Dismantleable
Trait for all wrappers over Screeps JavaScript objects which can be the target of Creep.dismantle.
FromReturnCode
Harvestable
Trait for all wrappers over Screeps JavaScript objects which can be the target of Creep.harvest.
HasCooldown
HasHits
HasId
Trait for all game objects which have an associated unique identifier.
HasPosition
HasStore
Healable
Trait for all wrappers over Screeps JavaScript objects which can be the target of Creep.heal.
MaybeHasId
Trait for all game objects which may (or may not) have an associated unique identifier.
MaybeHasPosition
OwnedStructureProperties
Repairable
Trait for all wrappers over Screeps JavaScript objects which can be the target of Creep.repair or StructureTower.repair.
RoomObjectProperties
SharedCreepProperties
StructureProperties
Transferable
Trait for all wrappers over Screeps JavaScript objects which can be the target of Creep.transfer.
Withdrawable
Trait for all wrappers over Screeps JavaScript objects which can be the target of Creep.withdraw.