]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Planet.hpp
eat what's here
[blobs.git] / src / world / Planet.hpp
index af3b512aea6b058bc97b4dadb7435b0bc65d4347..8cd9efef5233b81cedb6a751622ca827af31f4b8 100644 (file)
@@ -42,6 +42,8 @@ public:
                return tiles[IndexOf(surface, x, y)];
        }
 
+       const TileType &TypeAt(int surface, int x, int y) const;
+
        /// Convert coordinates into a tile index.
        int IndexOf(int surface, int x, int y) const {
                assert(0 <= surface && surface <= 5);