[email protected] %!s(int64=8) %!d(string=hai) anos
pai
achega
e24e75045e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      oxygine/src/EventDispatcher.h

+ 2 - 0
oxygine/src/EventDispatcher.h

@@ -57,6 +57,8 @@ namespace oxygine
         int getListenersCount() const;
         int getLastListenerID() const { return _lastID; }
 
+        const EventCallback& getListenerByIndex(int index) const { return (*_listeners)[index].cb; }
+
 
     protected: