tiki torch now spawns smoke particles and flames are randomly animated

This commit is contained in:
minjaesong
2021-08-17 16:50:13 +09:00
parent 42c09640d0
commit 0f03eafc84
5 changed files with 74 additions and 12 deletions

View File

@@ -43,7 +43,7 @@ class SpriteAnimation(@Transient val parentActor: ActorWithBody) {
private var delta = 0f
val looping = true
var looping = true
private var animationRunning = true
var flipHorizontal = false
var flipVertical = false