fixing the critical bug in active/dormant thingies, actor ID is now positive integer (I had to), class Actor is now shipped with ID generator, optimisation in add/removeActor

Former-commit-id: f743ecb27ba1cea05215889d7e1a77e10171cb8c
Former-commit-id: 4b88f9711c34542a8a504682cffe79a2f8a43ed8
This commit is contained in:
Song Minjae
2016-04-25 01:58:17 +09:00
parent c4b64140be
commit 1dc3e6df3e
10 changed files with 145 additions and 98 deletions

View File

@@ -1,13 +1,13 @@
package net.torvald.terrarum.console
import net.torvald.terrarum.VERSION_STRING
import net.torvald.terrarum.Terrarum
/**
* Created by minjaesong on 16-04-23.
*/
class Version : ConsoleCommand {
override fun execute(args: Array<String>) {
Echo().execute(VERSION_STRING)
Echo().execute("${Terrarum.NAME} ${Terrarum.VERSION_STRING}")
}
override fun printUsage() {