#include <ec_ikeylistener.h>
Public Member Functions | |
| virtual void | keyPressed (KeyEvent &evt)=0 |
| virtual void | keyReleased (KeyEvent &evt)=0 |
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 ec_ikeylistener.h.
| 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.
| keyevent | discribes the event. |
| virtual void FIFE::IKeyListener::keyReleased | ( | KeyEvent & | evt | ) | [pure virtual] |
Called if a key is released
| keyevent | discribes the event. |
1.7.1