Robot Devastation
Public Member Functions | Private Attributes | List of all members
rd::test::TestEventListener Class Reference
Inheritance diagram for rd::test::TestEventListener:
rd::InputEventListener

Public Member Functions

virtual bool onKeyDown (const Key &k)
 This function will be called whenever a key is pressed on the keyboard. More...
 
virtual bool onKeyUp (const Key &k)
 This function will be called whenever a key is released on the keyboard. More...
 
virtual bool onWindowEvent (const WindowEvent &event)
 This function will be called whenever a window event is raised. More...
 

Private Attributes

AudioManageraudioManager
 

Member Function Documentation

◆ onKeyDown()

virtual bool rd::test::TestEventListener::onKeyDown ( const Key k)
inlinevirtual
Parameters
kKey that triggered the event

Implements rd::InputEventListener.

◆ onKeyUp()

virtual bool rd::test::TestEventListener::onKeyUp ( const Key k)
inlinevirtual
Parameters
kKey that triggered the event

Implements rd::InputEventListener.

◆ onWindowEvent()

virtual bool rd::test::TestEventListener::onWindowEvent ( const WindowEvent event)
inlinevirtual
Parameters
eventWindowEvent object that wraps the window event

Implements rd::InputEventListener.


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