Interface for objects that can be notified of input events by the InputManager.
More...
#include <InputEventListener.hpp>
|
| virtual bool | onKeyDown (const Key &k)=0 |
| | This function will be called whenever a key is pressed on the keyboard. More...
|
| |
| virtual bool | onKeyUp (const Key &k)=0 |
| | This function will be called whenever a key is released on the keyboard. More...
|
| |
| virtual bool | onWindowEvent (const WindowEvent &event)=0 |
| | This function will be called whenever a window event is raised. More...
|
| |
InputEventListener follows the observer design pattern.
◆ onKeyDown()
| virtual bool rd::InputEventListener::onKeyDown |
( |
const Key & |
k | ) |
|
|
pure virtual |
◆ onKeyUp()
| virtual bool rd::InputEventListener::onKeyUp |
( |
const Key & |
k | ) |
|
|
pure virtual |
◆ onWindowEvent()
| virtual bool rd::InputEventListener::onWindowEvent |
( |
const WindowEvent & |
event | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: