mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-05 15:59:50 +07:00
Hopefully improved continuous rendering's framerate, to solve some ANRs
This commit is contained in:
@ -111,6 +111,10 @@ open class TileGroup(var tileInfo: TileInfo, val tileSetStrings:TileSetStrings,
|
||||
|
||||
class UnitLayerGroupClass:Group(){
|
||||
override fun draw(batch: Batch?, parentAlpha: Float) = super.draw(batch, parentAlpha)
|
||||
override fun act(delta: Float) { // No 'snapshotting' since we trust it wil remain the same
|
||||
for (child in children)
|
||||
child.act(delta)
|
||||
}
|
||||
}
|
||||
|
||||
class UnitImageLayerGroupClass:ActionlessGroup(){
|
||||
|
Reference in New Issue
Block a user