Quadtree::Quadtree(int level, RectangleShape bounds) : level_(level), bounds_(bounds) { // Initialize children pointers to null for(int i = 0; i < 4; ++i) children_[i] = 0; if(Debug::enabled) std::cout << "Quadtree @ (" << bounds_.x() << ", " << bounds_.y() << ") -> (" << bounds_.x() + bounds_.width() << ", " << bounds.y() + bounds_.height() << ")" << std::endl; }