Saga3D API Documentation
1.0-RC4
|
Interface of an object which can receive events (SDL_Event*) More...
#include <IEventReceiver.h>
Public Member Functions | |
virtual | ~IEventReceiver () |
Destructor. More... | |
virtual void | onEvent (const SDL_Event &event)=0 |
Called when an SDL event is fired. More... | |
Interface of an object which can receive events (SDL_Event*)
If you want to subscribe to events, inherit IEventReceiver and call SagaDevice::addEventReceiver.
Definition at line 17 of file IEventReceiver.h.
|
inlinevirtual |
Destructor.
Definition at line 21 of file IEventReceiver.h.
|
pure virtual |
Called when an SDL event is fired.
Implemented in saga::scene::ISceneNode, saga::scene::ISceneManager, and saga::scene::ISceneNodeAnimator.