[][src]Trait screeps::objects::HasEnergyForSpawn

pub unsafe trait HasEnergyForSpawn: CanStoreEnergy { }

Used to specify which structures can use their stored energy for spawning creeps.

Contract

The reference returned from AsRef<Reference>::as_ref must be able to be used by a spawner to create a new creep.

Implementors

impl HasEnergyForSpawn for StructureExtension[src]

impl HasEnergyForSpawn for StructureSpawn[src]

Loading content...