mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
adopting Java 9/Kotlin 1.2
This commit is contained in:
@@ -28,6 +28,9 @@ class UICheatDetected : UICanvas() {
|
||||
private val backgroundCol = Color(0x181818C0)
|
||||
|
||||
override fun renderUI(batch: SpriteBatch, camera: Camera) {
|
||||
Terrarum.ingame?.consoleHandler?.setAsClose()
|
||||
Terrarum.ingame?.consoleHandler?.isVisible = false
|
||||
|
||||
batch.color = backgroundCol
|
||||
batch.fillRect(0f, 0f, width.toFloat(), height.toFloat())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user