diff options
Diffstat (limited to 'terrain.h')
-rw-r--r-- | terrain.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,9 +1,15 @@ #ifndef TERRAIN_H #define TERRAIN_H +#include <set> + class Terrain { + private: + std::set<std::pair<int, int> > chunk_indices; public: - static float *generate_heights(int x, int y, int width, int height); + float *generate_heights(int x, int y, int width, int height); + float *get_chunk(int x, int y, int width, int height); + bool has_chunk(int x, int y); }; #endif |