cc.journeyman.the-great-game.world.location

Functions dealing with location in the world.

distance-between

(distance-between location-1 location-2)

TODO: write docs

get-coords

(get-coords location)

Return the coordinates in the game world of location, which may be 1. A coordinate pair in the format {:x 5 :y 32}; 2. A location, as discussed above; 3. Any other gameworld object, having a :location property whose value is one of the above.