Hopefully improved continuous rendering's framerate, to solve some ANRs

This commit is contained in:
Yair Morgenstern 2022-04-09 22:51:18 +03:00
parent 9fa3d8de2f
commit b8d9dd1af3

View File

@ -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(){