[email protected] %!s(int64=8) %!d(string=hai) anos
pai
achega
5cb0e6c31d
Modificáronse 2 ficheiros con 13 adicións e 11 borrados
  1. 12 11
      oxygine/src/Tween.h
  2. 1 0
      oxygine/src/core/log.cpp

+ 12 - 11
oxygine/src/Tween.h

@@ -99,17 +99,18 @@ namespace oxygine
         /**if you reset internal Tween state it could be reused and added to actor again */
         void reset();
 
-        int         getLoops() const { return _loops; }
-        timeMS      getDuration() const { return _duration; }
-        timeMS      getElapsed() const { return _elapsed; }
-        EASE        getEase() const { return _ease; }
-        EASE        getGlobalEase() const { return _globalEase; }
-        timeMS      getDelay() const { return _delay; }
-        Actor*      getClient() const { return _client; }
-        float       getPercent() const { return _percent; }
-        spObject    getDataObject() const { return _data; }
-        spTween     getNextSibling() { return intr_list::getNextSibling(); }
-        spTween     getPrevSibling() { return intr_list::getPrevSibling(); }
+        int                     getLoops() const { return _loops; }
+        timeMS                  getDuration() const { return _duration; }
+        timeMS                  getElapsed() const { return _elapsed; }
+        EASE                    getEase() const { return _ease; }
+        EASE                    getGlobalEase() const { return _globalEase; }
+        timeMS                  getDelay() const { return _delay; }
+        Actor*                  getClient() const { return _client; }
+        float                   getPercent() const { return _percent; }
+        spObject                getDataObject() const { return _data; }
+        spTween                 getNextSibling() { return intr_list::getNextSibling(); }
+        spTween                 getPrevSibling() { return intr_list::getPrevSibling(); }
+        const EventCallback&    getDoneCallback() const { return _cbDone; }
 
         bool        isStarted() const { return _status != status_not_started; }
         bool        isDone() const { return _status == status_remove; }

+ 1 - 0
oxygine/src/core/log.cpp

@@ -54,6 +54,7 @@ namespace oxygine
 
         void disable()
         {
+            messageln("***log disabled***");
             _enabled = false;
         }