Enum screeps::enums::AttackableObject
source · pub enum AttackableObject {
Show 20 variants
Creep(Creep),
PowerCreep(PowerCreep),
StructureContainer(StructureContainer),
StructureExtension(StructureExtension),
StructureExtractor(StructureExtractor),
StructureFactory(StructureFactory),
StructureInvaderCore(StructureInvaderCore),
StructureLab(StructureLab),
StructureLink(StructureLink),
StructureNuker(StructureNuker),
StructureObserver(StructureObserver),
StructurePowerBank(StructurePowerBank),
StructurePowerSpawn(StructurePowerSpawn),
StructureRampart(StructureRampart),
StructureRoad(StructureRoad),
StructureSpawn(StructureSpawn),
StructureStorage(StructureStorage),
StructureTerminal(StructureTerminal),
StructureTower(StructureTower),
StructureWall(StructureWall),
}
Variants§
Creep(Creep)
PowerCreep(PowerCreep)
StructureContainer(StructureContainer)
StructureExtension(StructureExtension)
StructureExtractor(StructureExtractor)
StructureFactory(StructureFactory)
StructureInvaderCore(StructureInvaderCore)
StructureLab(StructureLab)
StructureLink(StructureLink)
StructureNuker(StructureNuker)
StructureObserver(StructureObserver)
StructurePowerBank(StructurePowerBank)
StructurePowerSpawn(StructurePowerSpawn)
StructureRampart(StructureRampart)
StructureRoad(StructureRoad)
StructureSpawn(StructureSpawn)
StructureStorage(StructureStorage)
StructureTerminal(StructureTerminal)
StructureTower(StructureTower)
StructureWall(StructureWall)
Trait Implementations§
source§impl AsRef<RoomObject> for AttackableObject
impl AsRef<RoomObject> for AttackableObject
source§fn as_ref(&self) -> &RoomObject
fn as_ref(&self) -> &RoomObject
Converts this type into a shared reference of the (usually inferred) input type.
source§impl From<AttackableObject> for RoomObject
impl From<AttackableObject> for RoomObject
source§fn from(attackable: AttackableObject) -> Self
fn from(attackable: AttackableObject) -> Self
Converts to this type from the input type.