main
trivernis 2 years ago
parent 0707dd9077
commit 7266742b33
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -16,7 +16,6 @@ class GameSettings {
actionKeys[ActionCommand.LEFT] = listOf(Keys.LEFT, Keys.A)
actionKeys[ActionCommand.RIGHT] = listOf(Keys.RIGHT, Keys.D)
actionKeys[ActionCommand.OPEN_MENU] = listOf(Keys.ESCAPE)
actionKeys[ActionCommand.OPEN_INVENTORY] = listOf(Keys.I)
actionKeys[ActionCommand.TIME_TRAVEL] = listOf(Keys.T)
actionKeys[ActionCommand.INTERACT] = listOf(Keys.E)

@ -74,6 +74,7 @@ class FirstScreen(private val parent: Game) : TimeTravelScreen() {
ActionCommand.TIME_TRAVEL -> {
map.teleport(player)
}
else -> {}
}
println(action)
println(gameState.settings.getKeyCode(ActionCommand.OPEN_MENU))

Loading…
Cancel
Save