Drag[en]gine Script Module DragonScript Script API  1.0
DefaultKeyListener Class Reference

Default implementation of KeyListener. More...

Inheritance diagram for DefaultKeyListener:
KeyListener

Public Member Functions

DefaultKeyListener new ()
 Create default key listener. More...
 
void onKeyPress (KeyEvent event)
 Keyboard key has been pressed. More...
 
void onKeyRelease (KeyEvent event)
 Keyboard key has been released. More...
 

Detailed Description

Default implementation of KeyListener.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

◆ new()

Create default key listener.

◆ onKeyPress()

void onKeyPress ( KeyEvent  event)

Keyboard key has been pressed.

Implements KeyListener.

◆ onKeyRelease()

void onKeyRelease ( KeyEvent  event)

Keyboard key has been released.

Implements KeyListener.


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