Temporary movement code.

This commit is contained in:
King_DuckZ 2014-03-05 22:09:32 +01:00
parent fce08ed793
commit d27b5773ca
3 changed files with 37 additions and 13 deletions

View file

@ -62,7 +62,7 @@ namespace cloonel {
void GameplaySceneClassic::Prepare() {
std::unique_ptr<MoverSine> moverSine(new MoverSine());
std::unique_ptr<Character> player(new Character("resources/graphics/player.png", SDLObject(), ushort2(80, 120)));
std::unique_ptr<MoverLeftRight> moverLeftRight(new MoverLeftRight());
std::unique_ptr<MoverLeftRight> moverLeftRight(new MoverLeftRight(1.5f, 5.0f, 40.0f));
player->Prepare();
moverSine->RegisterPlaceable(player.get());