Expand description
Game map related functionality.
Structs
- Object that represents a set of options for a call to
find_route
.
Enums
Functions
- 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. - Get the route from a given room leading toward a destination room, with an optional
FindRouteOptions
parameter allowing control over the costs to enter rooms. - Get the distance used for range calculations between two rooms, optionally setting
continuous
to true to consider the world borders to wrap around, which is used for terminal calculations. - Get the status of a given room, determining whether it’s in a special area or currently inaccessible.
- Get the
RoomTerrain
object for any room, even one you don’t have vision in. - Get the size of the world map.