]> git.localhorst.tv Git - l2e.git/commitdiff
added animation synchronization function
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 19 Jan 2013 04:44:51 +0000 (22:44 -0600)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 19 Jan 2013 05:18:02 +0000 (23:18 -0600)
src/graphics/Animation.h

index 3791df4a75a185cc9463352f647ec36855d9853e..a224f548590c4af16edad31b32c1ab596881df3d 100644 (file)
@@ -72,6 +72,7 @@ public:
 
        void Start(app::State &ctrl);
        void Start(app::Application &ctrl);
+       void Synchronize(const AnimationRunner &other) { timer = other.timer; }
        void Stop();
        bool Started() const;
        bool Running() const;