diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-02 18:46:18 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-02 18:46:18 +0100 |
commit | c17df7d3e28e0eeb21f7a62d1c66f525b487a5fa (patch) | |
tree | 897cc608add9682c0ae36d3b3552147706234602 /backend/Location.h | |
parent | 5e4dd0c0197f6273c61491a5b9a030c93f796a12 (diff) |
implement dungeon generation
Diffstat (limited to 'backend/Location.h')
-rw-r--r-- | backend/Location.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/Location.h b/backend/Location.h index d29c117..6f701ad 100644 --- a/backend/Location.h +++ b/backend/Location.h @@ -15,6 +15,7 @@ enum Direction { WEST = 3, }; static constexpr const Direction DIRECTIONS[] = { NORTH, EAST, SOUTH, WEST }; +Direction operator - (const Direction &); Direction random_direction(); Direction random_direction(const Location &); |