mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
new param 'frameDelta' on every render() function
This commit is contained in:
@@ -49,7 +49,7 @@ class UIWatchLargeAnalogue() : UICanvas() {
|
||||
|
||||
private val TWO_PI = 2.0 * Math.PI
|
||||
|
||||
override fun renderUI(batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
override fun renderUI(frameDelta: Float, batch: SpriteBatch, camera: OrthographicCamera) {
|
||||
TerrarumIngame.setCameraPosition(batch, App.shapeRender, camera, posX.toFloat(), posY.toFloat())
|
||||
|
||||
val day = INGAME.world.worldTime.calendarDay - 1
|
||||
|
||||
Reference in New Issue
Block a user