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