Temporary movement code.
This commit is contained in:
parent
fce08ed793
commit
d27b5773ca
3 changed files with 37 additions and 13 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue