Refactoring in Movers.

The displayed texture now bounces vertically.
This commit is contained in:
King_DuckZ 2014-02-22 13:13:49 +01:00
parent 3269b469e3
commit 85c65b3e68
13 changed files with 62 additions and 22 deletions

View file

@ -14,7 +14,7 @@ namespace cloonel {
///--------------------------------------------------------------------------
void GameplayScene::OnUpdate (float parDelta) {
for (auto itMover : m_movers) {
itMover->ApplyMotion(parDelta);
itMover->Update(parDelta);
}
}