BGE Animations: Moving the BL_Action::IsDone() implementation from the header file...
authorMitchell Stokes <mogurijin@gmail.com>
Wed, 29 Jun 2011 02:45:08 +0000 (02:45 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Wed, 29 Jun 2011 02:45:08 +0000 (02:45 +0000)
source/gameengine/Ketsji/BL_Action.cpp
source/gameengine/Ketsji/BL_Action.h

index 33e4e179071385ba557f711f5d07692acc74d929..dec34289bbb32cbe7501d1c8b5b7216cee30b44f 100644 (file)
@@ -189,6 +189,11 @@ void BL_Action::Stop()
        m_done = true;
 }
 
+bool BL_Action::IsDone()
+{
+       return m_done;
+}
+
 void BL_Action::InitIPO()
 {
                // Initialize the IPO
index c4544fcda4414a2031d19c2fa0fe672e68b4d4b3..d9a2187540ef9207c29a2bf6a47395552b3d3387 100644 (file)
@@ -88,7 +88,7 @@ public:
                        short ipo_flags,
                        float playback_speed);
        void Stop();
-       bool IsDone() {return m_done;}
+       bool IsDone();
        void Update(float curtime);
 
        // Accessors