mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 21:44:05 +09:00
inventory UI: quickslot designation
Former-commit-id: b2bddf7c271c678213f8f346d1de4b5c1dc27f60
This commit is contained in:
@@ -279,8 +279,13 @@ object Terrarum : StateBasedGame(GAME_NAME) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// test acquired controller
|
||||
controller!!.getAxisValue(0)
|
||||
}
|
||||
catch (e: IndexOutOfBoundsException) {
|
||||
catch (controllerDoesNotHaveAnyAxesException: java.lang.ArrayIndexOutOfBoundsException) {
|
||||
controller = null
|
||||
}
|
||||
|
||||
if (controller != null) {
|
||||
@@ -304,6 +309,7 @@ object Terrarum : StateBasedGame(GAME_NAME) {
|
||||
addState(StateUITest())
|
||||
//addState(StateControllerRumbleTest())
|
||||
//addState(StateMidiInputTest())
|
||||
//addState(StateNewRunesTest())
|
||||
|
||||
//ingame = StateInGame(); addState(ingame)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user