keyboard control ported to GDX (at least as much as I can right now)

This commit is contained in:
minjaesong
2017-07-01 18:31:00 +09:00
parent f2a2966d6c
commit cbcd32e132
25 changed files with 298 additions and 327 deletions

View File

@@ -9,7 +9,6 @@ package net.torvald.terrarum.gameactors
interface Controllable {
fun processInput(delta: Float)
fun keyPressed(key: Int, c: Char)
fun keyDown(keycode: Int): Boolean
}