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