actors are now active/dormant depending on the distance to the player, only the active actors are to be updated. Actors outside of the camera (actually a distance to the player) are not rendered

Former-commit-id: 5f80c2ef3592aab5567723087c264e05458e98b3
Former-commit-id: 7714c6f5a6d7a48d4f5adfe8f6990b249bdb80b0
This commit is contained in:
Song Minjae
2016-04-24 16:37:08 +09:00
parent 1a1159b643
commit c4b64140be
16 changed files with 332 additions and 146 deletions

View File

@@ -112,7 +112,6 @@ class ConsoleWindow : UICanvas, UITypable {
}
private fun executeCommand() {
sendMessage("> " + commandInputPool!!.toString())
CommandInterpreter.execute(commandInputPool!!.toString())
}
@@ -152,7 +151,7 @@ class ConsoleWindow : UICanvas, UITypable {
prevCommand = ""
commandInputPool = StringBuilder()
if (Terrarum.game.auth.b()) sendMessage(Lang.get("DEV_MESSAGE_CONSOLE_CODEX"))
if (Terrarum.game.auth.b()) sendMessage(Lang["DEV_MESSAGE_CONSOLE_CODEX"])
}
override fun doOpening(gc: GameContainer, delta: Int) {