12345
std::cerr << "Bottom check:\n"; // add this line for (GameObject* obj : handler->getGameObjects()) { if (obj->getObjectId() == ObjectID::BLOCK) { std::cerr << " Bottom? "; // add a few spaces here for indentation ...