mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 15:53:42 +00:00
removed debug print
This commit is contained in:
parent
9f2df7c6c5
commit
4755076c34
@ -75,9 +75,6 @@ void TransformComponent::update()
|
|||||||
intersectionsY |= CollisionHandler::getIntersection(entity, collider->entity, Vector2D(0, positionChange.y), Vector2D(0, 0));
|
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)
|
if (intersectionsX.test((size_t) direction::LEFT) && positionChange.x < 0)
|
||||||
positionChange.x = 0;
|
positionChange.x = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user