FIFE 2008.0
FIFE::IKeyListener Class Reference

#include <ec_ikeylistener.h>

List of all members.

Public Member Functions

virtual void keyPressed (KeyEvent &evt)=0
virtual void keyReleased (KeyEvent &evt)=0

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 ec_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:
keyeventdiscribes the event.
virtual void FIFE::IKeyListener::keyReleased ( KeyEvent evt) [pure virtual]

Called if a key is released

Parameters:
keyeventdiscribes the event.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator