]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Animation.h
added animation synchronization function
[l2e.git] / src / graphics / Animation.h
index f70379daf45603b9cc53e4c08c0f2c958e838ca4..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;
@@ -112,4 +113,4 @@ private:
 
 }
 
-#endif /* GRAPHICS_SIMPLEANIMATION_H_ */
+#endif