mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 19:44:05 +09:00
Object-ified console commands (singleton!)
Former-commit-id: d04fc939a659fc4a6b952d64894bd28edf97bc38 Former-commit-id: 6c20526f3bdda2d9d08dc156b3b0fe271e89bffb
This commit is contained in:
@@ -7,7 +7,7 @@ import java.io.File
|
||||
/**
|
||||
* Created by minjaesong on 16-08-02.
|
||||
*/
|
||||
class MusicTest : ConsoleCommand {
|
||||
internal object MusicTest : ConsoleCommand {
|
||||
|
||||
var music: Music? = null
|
||||
|
||||
@@ -39,7 +39,7 @@ class MusicTest : ConsoleCommand {
|
||||
}
|
||||
|
||||
override fun printUsage() {
|
||||
Echo().execute("Usage: musictest filename/in/res/sounds/test")
|
||||
Echo().execute("musictest stop to stop playback")
|
||||
Echo.execute("Usage: musictest filename/in/res/sounds/test")
|
||||
Echo.execute("musictest stop to stop playback")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user