Claire's Game Engine
Full C++ Engine using OpenGL
Loading...
Searching...
No Matches
IInputListener Class Referenceabstract

Interface for classes that want to receive input events. Classes implementing this interface must handle SDL_Event notifications. More...

#include <IInputListener.h>

Inheritance diagram for IInputListener:
EditorController PlayerController

Public Member Functions

virtual ~IInputListener ()=default
 
virtual void OnNotify (SDL_Event &pEvent)=0
 Called when an input event occurs.
 

Detailed Description

Interface for classes that want to receive input events. Classes implementing this interface must handle SDL_Event notifications.

Constructor & Destructor Documentation

◆ ~IInputListener()

virtual IInputListener::~IInputListener ( )
virtualdefault

Member Function Documentation

◆ OnNotify()

virtual void IInputListener::OnNotify ( SDL_Event & pEvent)
pure virtual

Called when an input event occurs.

Parameters
pEventReference to the SDL_Event received from the input system.

Implemented in EditorController, and PlayerController.


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