Trait screeps::traits::StructureProperties
source · pub trait StructureProperties {
// Required methods
fn structure_type(&self) -> StructureType;
fn destroy(&self) -> ReturnCode;
fn is_active(&self) -> bool;
fn notify_when_attacked(&self, val: bool) -> ReturnCode;
}