Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
#include <IEventReceiver.h>
Public Member Functions | |
virtual bool | OnEvent (const SEvent &event)=0 |
Called if an event happened. | |
virtual | ~IEventReceiver () |
Destructor. |
Many of the engine's classes inherit IEventReceiver so they are able to process events. Events usually start at a postEventFromUser function and are passed down through a chain of event receivers until OnEvent returns true. See irr::EEVENT_TYPE for a description of where each type of event starts, and the path it takes through the system.
Definition at line 410 of file IEventReceiver.h.
virtual irr::IEventReceiver::~IEventReceiver | ( | ) | [inline, virtual] |
virtual bool irr::IEventReceiver::OnEvent | ( | const SEvent & | event | ) | [pure virtual] |
Called if an event happened.
Implemented in irr::scene::ICameraSceneNode, irr::gui::IGUIElement, and irr::scene::ISceneNodeAnimator.
The Irrlicht
Engine Documentation © 2003-2009 by Nikolaus Gebhardt. Generated
on Sun Jan 10 09:24:08 2010 by Doxygen
(1.5.6) |