22 #ifndef LASTEXPRESS_EVENTHANDLER_H 23 #define LASTEXPRESS_EVENTHANDLER_H 25 #include "common/func.h" 26 #include "common/events.h" 30 #define SET_EVENT_HANDLERS(class, inst) \ 31 _engine->setEventHandlers(new EVENT_HANDLER(class, eventMouse, inst), new EVENT_HANDLER(class, eventTick, inst)); 33 #define EVENT_HANDLER(class, name, inst) \ 34 Common::Functor1Mem<const Common::Event&, void, class>(inst, &class::name) 49 #endif // LASTEXPRESS_EVENTHANDLER_H Definition: eventhandler.h:36
Definition: animation.h:45