summaryrefslogtreecommitdiff
path: root/game/geoData.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/geoData.h')
-rw-r--r--game/geoData.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/geoData.h b/game/geoData.h
index 39c149c..e5057c3 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -20,6 +20,8 @@ public:
void generateRandom();
void loadFromImages(const std::filesystem::path &, float scale);
+ [[nodiscard]] glm::vec3 positionAt(glm::vec2) const;
+
[[nodiscard]] unsigned int at(glm::ivec2) const;
[[nodiscard]] unsigned int at(int x, int y) const;