[email protected] 8 years ago
parent
commit
e24e75045e
1 changed files with 2 additions and 0 deletions
  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: