/**
 * The options that can be accepted by `findRoute()` and friends.
 */ interface RouteOptions { routeCallback : { ( roomName , fromRoomName ) : any ; } ; } /**
 * A global object representing world map. Use it to navigate between rooms. The object is accessible via Game.map property.
 */ interface GameMap { param roomName returns describeExits ( roomName ) : { "1" ? : string ; "3" ? : string ; "5" ? : string ; "7" ? : string ; } ; param fromRoom param toRoom param opts return findExit ( fromRoom , toRoom , opts ? ) : number ; param fromRoom param toRoom param opts returns findRoute ( fromRoom , toRoom , opts ? ) : { exit : number ; room : string ; } [ ] | number ; param roomName1 param roomName2 param continuous getRoomLinearDistance ( roomName1 , roomName2 , continuous ? ) : number ; param x param y param roomName getTerrainAt ( x , y , roomName ) : string ; param pos getTerrainAt ( pos ) : string ; param roomName returns isRoomAvailable ( roomName ) : boolean ; }