pub unsafe trait HasEnergyForSpawn: CanStoreEnergy { }
Expand description

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