mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
11 lines
308 B
Kotlin
11 lines
308 B
Kotlin
package net.torvald.terrarum.ui
|
|
|
|
/**
|
|
* Created by minjaesong on 16-03-06.
|
|
*/
|
|
interface KeyControlled {
|
|
fun keyPressed(key: Int, c: Char)
|
|
fun keyReleased(key: Int, c: Char)
|
|
fun controllerButtonPressed(controller: Int, button: Int)
|
|
fun controllerButtonReleased(controller: Int, button: Int)
|
|
} |