public class GGKeyAdapter extends java.lang.Object implements GGKeyListener
| Constructor and Description |
|---|
GGKeyAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
keyPressed(java.awt.event.KeyEvent evt)
Event callback method called when a key is pressed.
|
boolean |
keyReleased(java.awt.event.KeyEvent evt)
Event callback method called when a key is released.
|
public boolean keyPressed(java.awt.event.KeyEvent evt)
keyPressed in interface GGKeyListenerevt - the KeyEvent that gives information about the keypublic boolean keyReleased(java.awt.event.KeyEvent evt)
keyReleased in interface GGKeyListenerevt - the KeyEvent that gives information about the key