You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gamejam-22/core/src/main/kotlin/com/last/commit/FirstScreen.kt

34 lines
880 B
Kotlin

package com.last.commit
import com.badlogic.gdx.Screen
/** First screen of the application. Displayed after the application is created. */
class FirstScreen : Screen {
override fun show() {
// Prepare your screen here.
}
override fun render(delta: Float) {
// Draw your screen here. "delta" is the time since last render in seconds.
}
override fun resize(width: Int, height: Int) {
// Resize your screen here. The parameters represent the new window size.
}
override fun pause() {
// Invoked when your application is paused.
}
override fun resume() {
// Invoked when your application is resumed after pause.
}
override fun hide() {
// This method is called when another screen replaces this one.
}
override fun dispose() {
// Destroy screen's assets here.
}
}