Commit 520182a0 authored by Lázár Bence Kis's avatar Lázár Bence Kis
Browse files

Animator cleaned up

parent a3a0aaa3
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -14,10 +14,6 @@ struct Animator : public com::Runner
{
    static inline std::string self_name() { return "animator.run"; }

    /// TODO: remove these static members
    static float blending_factor_alpha;
    static bool select_animation_a;

    Animator() : com::Runner{ self_name() } {}

    void next_round() override;
@@ -25,9 +21,6 @@ struct Animator : public com::Runner
protected:
    void initialize() override;
    void release() override;

private:
    double m_previous_time = 0.0;
};

}
+0 −3
Original line number Diff line number Diff line
@@ -9,9 +9,6 @@

namespace anim {

float Animator::blending_factor_alpha = 0.f;
bool Animator::select_animation_a = true;

void Animator::initialize()
{
    osi::updaters()->push_back<com::Link>(name() + ".link", this);