Created the generator hierarchy

This commit is contained in:
Kayne Ruse
2014-06-21 06:47:30 +10:00
parent d3bf099a98
commit 924ebc2ee9
20 changed files with 475 additions and 39 deletions
+1 -6
View File
@@ -22,12 +22,7 @@
#include "overworld_generator.hpp"
OverworldGenerator::OverworldGenerator() {
for (int i = 0; i < OVERWORLD_WIDTH; i++) {
for (int j = 0; j < OVERWORLD_HEIGHT; j++) {
chunks[i][j].type = TerrainType::NONE;
chunks[i][j].mod = ChunkData::Moddable::CLEAR;
}
}
//
}
OverworldGenerator::~OverworldGenerator() {