mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
uicanvas: updateUI/renderUI to updateImpl/renderImpl to match the naming scheme with the actor
This commit is contained in:
@@ -2,7 +2,6 @@ package net.torvald.terrarum.ui
|
||||
|
||||
import com.badlogic.gdx.Gdx
|
||||
import com.badlogic.gdx.Input
|
||||
import com.badlogic.gdx.graphics.Camera
|
||||
import com.badlogic.gdx.graphics.Color
|
||||
import com.badlogic.gdx.graphics.OrthographicCamera
|
||||
import com.badlogic.gdx.graphics.g2d.SpriteBatch
|
||||
@@ -227,7 +226,7 @@ void main() {
|
||||
|
||||
|
||||
if (isVisible || alwaysUpdate) {
|
||||
ui.updateUI(delta)
|
||||
ui.updateImpl(delta)
|
||||
}
|
||||
|
||||
if (isOpening) {
|
||||
@@ -301,7 +300,7 @@ void main() {
|
||||
|
||||
batch.shader = shader
|
||||
shader.setUniformf("opacity", opacity * parentOpacity)
|
||||
ui.renderUI(frameDelta, batch, camera)
|
||||
ui.renderImpl(frameDelta, batch, camera)
|
||||
//ingameGraphics.flush()
|
||||
|
||||
batch.shader = null
|
||||
|
||||
Reference in New Issue
Block a user