Trait screeps::objects::HasCooldown
source · pub unsafe trait HasCooldown: StructureProperties {
fn cooldown(&self) -> u32 { ... }
}
Expand description
Trait for objects which have to cooldown.
Contract
The reference returned from AsRef<Reference>::as_ref
must be have a
cooldown
properties.