mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
26 lines
725 B
Kotlin
26 lines
725 B
Kotlin
package net.torvald.terrarum
|
|
|
|
import com.badlogic.gdx.graphics.Camera
|
|
import com.badlogic.gdx.graphics.OrthographicCamera
|
|
import com.badlogic.gdx.graphics.g2d.SpriteBatch
|
|
import net.torvald.terrarum.modulebasegame.ui.UIRemoCon
|
|
import net.torvald.terrarum.ui.UICanvas
|
|
|
|
class ModOptionsHost(val remoCon: UIRemoCon) : UICanvas() {
|
|
|
|
|
|
private val moduleAreaHMargin = 48
|
|
private val moduleAreaBorder = 8
|
|
|
|
override var width = App.scr.width - UIRemoCon.remoConWidth - moduleAreaHMargin
|
|
override var height = App.scr.height - moduleAreaHMargin * 2
|
|
|
|
override fun updateUI(delta: Float) {
|
|
}
|
|
|
|
override fun renderUI(batch: SpriteBatch, camera: OrthographicCamera) {
|
|
}
|
|
|
|
override fun dispose() {
|
|
}
|
|
} |