|
Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
|
#include <Event.hpp>
Public Member Functions | |
| EventBase () | |
| virtual | ~EventBase () |
| EventBase< T > & | operator+= (EventHandlerImpl< T > *pHandlerToAdd) |
| EventBase< T > & | operator-= (EventHandlerImpl< T > *pHandlerToRemove) |
Protected Attributes | |
| eastl::list< EventHandlerImpl< T > * > | m_eventHandlers |
Sharp Event provide an event mechanism that is similar to that found in C#
// called inside ThisClass constructor as recommended
|
inline |
|
inlinevirtual |
|
inline |
This is how you connect a handler to this event.
// example of binding inside ThisClass constructor as recommended
// example of unbinding in destructor
|
inline |
you can use this to remove a handler you previously added.
|
protected |
1.8.11