Function screeps::game::get_object_by_id_erased
source · pub fn get_object_by_id_erased(id: &RawObjectId) -> Option<RoomObject>
Expand description
Get the RoomObject
represented by a given RawObjectId
, if it’s
still alive and visible.