0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 07:53:43 +00:00

removed debug print

This commit is contained in:
Benedikt Galbavy 2024-01-28 17:01:18 +01:00
parent 9f2df7c6c5
commit 4755076c34

View File

@ -75,9 +75,6 @@ void TransformComponent::update()
intersectionsY |= CollisionHandler::getIntersection(entity, collider->entity, Vector2D(0, positionChange.y), Vector2D(0, 0));
}
if (this->entity->hasGroup((size_t) GroupLabel::PLAYERS) && this->entity->getTeam() == TeamLabel::BLUE)
std::cout << intersectionsX << std::endl;
if (intersectionsX.test((size_t) direction::LEFT) && positionChange.x < 0)
positionChange.x = 0;