Function screeps::game::rooms

source ·
pub fn rooms() -> JsHashMap<RoomName, Room>
Expand description

Get a JsHashMap<RoomName, Room> with the rooms visible for the current tick.

Screeps documentation