Commented out couts.

This commit is contained in:
PlatinumSkink
2015-10-06 19:57:57 +02:00
parent 902098a72d
commit 1f10d24448
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -303,7 +303,7 @@ bool dd::Systems::BallSystem::OnLifeLost(const dd::Events::LifeLost &event)
bool dd::Systems::BallSystem::OnMultiBallLost(const dd::Events::MultiBallLost &event)
{
SetMultiBalls(MultiBalls() - 1);
std::cout << MultiBalls() << std::endl;
//std::cout << MultiBalls() << std::endl;
if (MultiBalls() < 0) {
auto ent = CreateBall();
SetMultiBalls(0);
@@ -340,6 +340,6 @@ bool dd::Systems::BallSystem::OnMultiBall(const dd::Events::MultiBall &event)
transform2->Velocity = glm::normalize(glm::vec3(-5, 5 ,0.f)) * ball2->Speed;
SetMultiBalls(MultiBalls() + 2);
std::cout << MultiBalls() << std::endl;
//std::cout << MultiBalls() << std::endl;
return true;
}
+2 -1
View File
@@ -254,7 +254,8 @@ void dd::Systems::PhysicsSystem::OnEntityRemoved(EntityID entity)
return;
}
LOG_INFO("Removing entity %i", entity);
//It told me I was removing a lot of objects, and I didn't need that information, so I commented it out.
//LOG_INFO("Removing entity %i", entity);
it->second->GetWorld()->DestroyBody(it->second);
m_BodiesToEntities.erase(it->second);
m_EntitiesToBodies.erase(entity);