mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
uicanvas: updateUI/renderUI to updateImpl/renderImpl to match the naming scheme with the actor
This commit is contained in:
@@ -30,7 +30,7 @@ class UIBuildingMakerToolbox : UICanvas() {
|
||||
tools[selectedTool].highlighted = true
|
||||
}
|
||||
|
||||
override fun updateUI(delta: Float) {
|
||||
override fun updateImpl(delta: Float) {
|
||||
tools.forEachIndexed { counter, it ->
|
||||
it.update(delta)
|
||||
|
||||
@@ -38,7 +38,7 @@ class UIBuildingMakerToolbox : UICanvas() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun renderUI(frameDelta: Float, batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
override fun renderImpl(frameDelta: Float, batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
tools.forEach { it.render(frameDelta, batch, camera) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user