mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
clickable inventory for (un)equip
This commit is contained in:
11
src/net/torvald/terrarum/ui/KeyControlled.kt
Normal file
11
src/net/torvald/terrarum/ui/KeyControlled.kt
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user