Sound when crashing into obstacle added

This commit is contained in:
Tleety
2015-06-01 23:28:31 +02:00
parent 8bd3ccf4cf
commit c15a082e4f
7 changed files with 14 additions and 6 deletions
@@ -83,7 +83,6 @@ void Systems::LevelGenerationSystem::SpawnObstacle()
void Systems::LevelGenerationSystem::Update( double dt )
{
elapsedtime += dt;
spawnFrequency = 10/velocity;
@@ -91,9 +90,6 @@ void Systems::LevelGenerationSystem::Update( double dt )
SpawnObstacle();
elapsedtime = 0;
}
}
void Systems::LevelGenerationSystem::UpdateEntity( double dt, EntityID entity, EntityID parent )