Tested RegionPager, removed trace statements, fixed logic errors

This commit is contained in:
Kayne Ruse
2014-03-01 00:39:39 +11:00
parent 4629b7302b
commit dc8f594eec
7 changed files with 14 additions and 28 deletions
-4
View File
@@ -21,14 +21,10 @@
*/
#include "map_generator.hpp"
#include <iostream>
void MapGenerator::Create(Region** const ptr, int width, int height, int depth, int x, int y) {
(*ptr) = new Region(width, height, depth, x, y);
std::cout << "Create" << std::endl;
}
void MapGenerator::Unload(Region* const ptr) {
delete ptr;
std::cout << "Unload" << std::endl;
}