diff --git a/examples/animation/src/main.cpp b/examples/animation/src/main.cpp index 6842696..b05efba 100644 --- a/examples/animation/src/main.cpp +++ b/examples/animation/src/main.cpp @@ -19,14 +19,12 @@ class PlayerEntity : public simpleengine::Entity { private: sf::Sprite sprite; sf::Texture texture; - float movement_speed = 95; + float movement_speed = 150; sf::Vector2u window_size; std::unique_ptr move_anim_component; public: explicit PlayerEntity(sf::Vector2u window_size) : window_size(window_size) { - AddComponent(std::make_unique(*this, movement_speed)); - texture.loadFromFile("player_sheet.png"); sprite.setTexture(texture);