mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-08 14:33:42 +07:00
Hopefully improved continuous rendering's framerate, to solve some ANRs
This commit is contained in:
parent
9fa3d8de2f
commit
b8d9dd1af3
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user