StevEngine
StevEngine is a customizable C++ game engine.
Loading...
Searching...
No Matches
StevEngine::EventHandlerBase Class Referenceabstract

Base class for event handlers. More...

#include <main/EventSystem.hpp>

Inheritance diagram for StevEngine::EventHandlerBase:
StevEngine::EventHandler< EventType >

Public Member Functions

virtual void Execute (const Event &e)=0
 Execute handler with event.
 
Utilities::ID GetType () const
 Get handler type ID.
 

Public Attributes

const Utilities::ID handlerType
 Unique handler identifier.
 

Detailed Description

Base class for event handlers.

Member Function Documentation

◆ Execute()

virtual void StevEngine::EventHandlerBase::Execute ( const Event & e)
pure virtual

Execute handler with event.

Parameters
eEvent to handle

Implemented in StevEngine::EventHandler< EventType >.

◆ GetType()

Utilities::ID StevEngine::EventHandlerBase::GetType ( ) const
inline

Get handler type ID.

Returns
Unique ID for this handler

The documentation for this class was generated from the following file: