Make Entity supports KeyEventHandler

This commit is contained in:
2021-04-01 21:33:29 +02:00
parent f5f8ec1595
commit 075b0e67dc
3 changed files with 42 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
package com.bartlomiejpluta.base.api.input;
@FunctionalInterface
public interface KeyEventHandler {
void handleKeyEvent(KeyEvent event);
}