FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::IKeyListener Class Referenceabstract

Listener of key events. More...

#include <ikeylistener.h>

+ Collaboration diagram for FIFE::IKeyListener:

Public Member Functions

virtual void keyPressed (KeyEvent &evt)=0
 Called if a key is pressed If a key is held down the multiple key presses are generated. More...
 
virtual void keyReleased (KeyEvent &evt)=0
 Called if a key is released. More...
 
virtual ~IKeyListener ()
 

Detailed Description

Listener of key events.

To be able to listen for key events you must make a class which inherits from this class and implements its functions.

Definition at line 44 of file ikeylistener.h.

Constructor & Destructor Documentation

virtual FIFE::IKeyListener::~IKeyListener ( )
inlinevirtual

Definition at line 57 of file ikeylistener.h.

Member Function Documentation

virtual void FIFE::IKeyListener::keyPressed ( KeyEvent evt)
pure virtual

Called if a key is pressed If a key is held down the multiple key presses are generated.

Parameters
evtKeyEvent that describes the event.
virtual void FIFE::IKeyListener::keyReleased ( KeyEvent evt)
pure virtual

Called if a key is released.

Parameters
evtKeyEvent that describes the event.

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