Merge branch 'master' into minmax

This commit is contained in:
xawotihs
2014-08-07 22:29:41 +02:00
21 changed files with 347 additions and 320 deletions
-3
View File
@@ -1,3 +0,0 @@
#include "../include/Effects.h"
int Effect::id_counter = 0;
-4
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();
}