Remove unused Effects.h/.cpp and class Effect

There was an empty vector of effect* in PlayGuiObject.
This commit is contained in:
Tobias Loose
2014-02-03 13:52:40 +01:00
parent 30d92eb68c
commit 197540763e
8 changed files with 2 additions and 38 deletions

View File

@@ -38,13 +38,9 @@ void PlayGuiObject::Update(float dt)
if (mHeight < defaultHeight) mHeight = defaultHeight;
}
wave = (wave + 2 * (int) (100 * dt)) % 255;
for (vector<Effect*>::iterator it = effects.begin(); it != effects.end(); ++it)
(*it)->Update(dt);
Pos::Update(dt);
}
void PlayGuiObject::Render()
{
for (vector<Effect*>::iterator it = effects.begin(); it != effects.end(); ++it)
(*it)->Render();
}