]> git.tdb.fi Git - libs/gl.git/commitdiff
Add getter for Animation::looping
authorMikko Rasa <tdb@tdb.fi>
Sat, 8 Jun 2019 07:16:27 +0000 (10:16 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 8 Jun 2019 07:16:27 +0000 (10:16 +0300)
source/animation.h

index 7c277f430876e71a1738d039dda2852033639e68..011c8558ca52f32659247c263b7cdb17f46359c5 100644 (file)
@@ -186,6 +186,7 @@ public:
        const Msp::Time::TimeDelta &get_duration() const;
 
        void set_looping(bool);
+       bool is_looping() const { return looping; }
 };
 
 } // namespace GL