Function screeps::game::map::describe_exits

source ·
pub fn describe_exits(room_name: RoomName) -> JsHashMap<Direction, RoomName>
Expand description

Get an object with information about the exits from a given room, with JsString versions of direction integers as keys and JsString room names as values.

Screeps documentation