Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4450 in orxonox.OLD for orxonox/trunk/src/util/event/event_handler.h


Ignore:
Timestamp:
Jun 1, 2005, 11:05:23 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: commented the event handler and event class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/event/event_handler.h

    r4420 r4450  
    2121  static EventHandler* getInstance(void);
    2222  virtual ~EventHandler(void);
    23 
    2423  void init();
    2524
     
    2928  void unsubscribe(elState state, int eventType);
    3029  void unsubscribe(EventListener* el, elState state = ES_ALL);
    31 
    3230  void flush(elState state);
    3331
    34   void tick(float t);
    3532  void process();
    36 
    37   void test();
    3833
    3934 private:
     
    4237
    4338 private:
    44   static EventHandler* singletonRef;
     39  static EventHandler* singletonRef;                  //!< the singleton reference
    4540  EventListener*** listeners;                         //!< a list of registered listeners
    46   elState state;
    47   KeyMapper* keyMapper;
     41  elState state;                                      //!< the state of the event handlder
     42  KeyMapper* keyMapper;                               //!< reference to the key mapper
    4843};
    4944
Note: See TracChangeset for help on using the changeset viewer.