still wip modularisation, game somehow boots

This commit is contained in:
minjaesong
2018-06-21 17:33:22 +09:00
parent f0a6f8b9c2
commit a6ea2b4e18
266 changed files with 2409 additions and 1122 deletions

View File

@@ -0,0 +1,25 @@
package net.torvald.terrarum.modulebasegame.console
import net.torvald.terrarum.console.ConsoleCommand
import net.torvald.terrarum.console.Echo
import net.torvald.terrarum.langpack.Lang
/**
* Created by minjaesong on 2016-01-22.
*/
internal object GetLocale : ConsoleCommand {
override fun execute(args: Array<String>) {
Echo(
"Locale: "
+ Lang["MENU_LANGUAGE_THIS"]
+ " ("
+ Lang["MENU_LANGUAGE_THIS_EN"]
+ ")")
}
override fun printUsage() {
Echo("Usage: getlocale")
Echo("Get name of locale currently using.")
}
}