pub fn find_exit<F>(
from: RoomName,
to: RoomName,
options: Option<FindRouteOptions<F>>
) -> Result<ExitDirection, ErrorCode>
Expand description
Get the exit direction from a given room leading toward a destination
room, with an optional FindRouteOptions
parameter allowing control
over the costs to enter rooms.