improved ActorValueTracker: can now change actor currently tracking

Former-commit-id: 71daf44209f700b8702f2b73294583edefda49c9
Former-commit-id: 3ab76c6509086490ba6ea9501b1ba08e444a7e53
This commit is contained in:
Song Minjae
2016-12-30 02:22:58 +09:00
parent 061c15d241
commit ef59134a3e
5 changed files with 60 additions and 40 deletions

View File

@@ -41,6 +41,6 @@ object AVTracker : ConsoleCommand {
}
fun update() {
jPanelInstances.forEach { it.setInfoLabel() }
jPanelInstances.forEach { it.update() }
}
}

View File

@@ -22,6 +22,6 @@ object ActorsList : ConsoleCommand {
}
fun update() {
jPanelInstances.forEach { it.setInfoLabel() }
jPanelInstances.forEach { it.update() }
}
}

View File

@@ -75,7 +75,7 @@ internal object GetAV : ConsoleCommand {
" $ccO" +
Terrarum.ingame.getActorByID(id).actorValue[av]!!.javaClass.simpleName
)
println("id.av = " +
println("$id.$av = " +
Terrarum.ingame.getActorByID(id).actorValue[av] +
" " +
Terrarum.ingame.getActorByID(id).actorValue[av]!!.javaClass.simpleName