mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
new param 'frameDelta' on every render() function
This commit is contained in:
@@ -135,7 +135,7 @@ class UIItemToggleButton(
|
||||
Color(0x00E800FF)
|
||||
)
|
||||
|
||||
override fun render(batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
override fun render(frameDelta: Float, batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
blendNormalStraightAlpha(batch)
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ class UIItemToggleButton(
|
||||
renderOrderNormal.forEach { it(batch) }
|
||||
|
||||
|
||||
super.render(batch, camera)
|
||||
super.render(frameDelta, batch, camera)
|
||||
}
|
||||
|
||||
override fun dispose() {
|
||||
|
||||
Reference in New Issue
Block a user