Don't draw CollisionComponent's hitbox

This commit is contained in:
SeanOMik 2021-03-21 19:59:12 -05:00
parent f97f882845
commit a2837a107c
No known key found for this signature in database
GPG Key ID: CA09E5BE1F32728A
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ void simpleengine::CollisionComponent::Update(const float &delta_time) {
} }
void simpleengine::CollisionComponent::Render(sf::RenderTarget *target) { void simpleengine::CollisionComponent::Render(sf::RenderTarget *target) {
target->draw(hitbox); //target->draw(hitbox);
} }
void simpleengine::CollisionComponent::SetOnCollide(std::function<void(std::shared_ptr<Entity>)> func) { void simpleengine::CollisionComponent::SetOnCollide(std::function<void(std::shared_ptr<Entity>)> func) {