mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
13 lines
339 B
Kotlin
13 lines
339 B
Kotlin
package net.torvald.terrarum.console
|
|
|
|
import net.torvald.terrarum.AppLoader
|
|
|
|
object TakeScreenshot: ConsoleCommand {
|
|
override fun execute(args: Array<String>) {
|
|
AppLoader.requestScreenshot()
|
|
}
|
|
|
|
override fun printUsage() {
|
|
Echo("Takes screenshot and save it to the default directory as 'screenshot.tga'")
|
|
}
|
|
} |