mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-14 23:56:07 +09:00
Former-commit-id: 7a98df93b4ef50b47283abcd99576d6fbefc9cc5 Former-commit-id: db6e34417ccf84e59ba68547f30459cb4b188eb7
31 lines
759 B
Kotlin
31 lines
759 B
Kotlin
package net.torvald.terrarum
|
|
|
|
import org.newdawn.slick.Font
|
|
import org.newdawn.slick.GameContainer
|
|
import org.newdawn.slick.Graphics
|
|
import org.newdawn.slick.state.BasicGameState
|
|
import org.newdawn.slick.state.StateBasedGame
|
|
|
|
/**
|
|
* Created by minjaesong on 16-06-28.
|
|
*/
|
|
class StateFontTester : BasicGameState() {
|
|
val textToPrint = "Font printer 서체 인쇄기"
|
|
|
|
lateinit var canvas: Graphics
|
|
lateinit var gameFont: Font
|
|
|
|
override fun init(gc: GameContainer, game: StateBasedGame) {
|
|
canvas = Graphics(1024, 1024)
|
|
}
|
|
|
|
override fun update(gc: GameContainer, game: StateBasedGame, delta: Int) {
|
|
|
|
}
|
|
|
|
override fun render(gc: GameContainer, game: StateBasedGame, g: Graphics) {
|
|
|
|
}
|
|
|
|
override fun getID(): Int = 666
|
|
} |