Function screeps::game::structures

source ·
pub fn structures() -> JsHashMap<RawObjectId, StructureObject>
Expand description

Get a JsHashMap<RawObjectId, StructureObject> with all of your owned structures.

Screeps documentation