aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util/customgui/CustomGui.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/util/customgui/CustomGui.kt')
-rw-r--r--src/main/kotlin/util/customgui/CustomGui.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/kotlin/util/customgui/CustomGui.kt b/src/main/kotlin/util/customgui/CustomGui.kt
index 5224448..35c60ac 100644
--- a/src/main/kotlin/util/customgui/CustomGui.kt
+++ b/src/main/kotlin/util/customgui/CustomGui.kt
@@ -76,4 +76,16 @@ abstract class CustomGui {
open fun mouseDragged(mouseX: Double, mouseY: Double, button: Int, deltaX: Double, deltaY: Double): Boolean {
return false
}
+
+ open fun keyPressed(keyCode: Int, scanCode: Int, modifiers: Int): Boolean {
+ return false
+ }
+
+ open fun charTyped(chr: Char, modifiers: Int): Boolean {
+ return false
+ }
+
+ open fun keyReleased(keyCode: Int, scanCode: Int, modifiers: Int): Boolean {
+ return false
+ }
}