Utils
Interface KeybHandler
- All Known Implementing Classes:
- CellBasedGame, JBPlayer
- public abstract interface KeybHandler
Interfaccia per oggetti che richiedono una notificazione dell'input di tastiera
- Author:
- Marco Mastropaolo (marco.mastropaolo@libero.it / st971422@educ.di.unito.it)
|
Method Summary |
void |
updateKeyState(java.awt.event.KeyEvent e,
boolean pressed)
Funzione richiamata al cambiare dello stato della tastiera |
updateKeyState
public void updateKeyState(java.awt.event.KeyEvent e,
boolean pressed)
- Funzione richiamata al cambiare dello stato della tastiera
- Parameters:
e - La struttura KeyEvent per l'eventopressed - Vale true se il tasto è stato premuto, false se rilasciato