moving platform kinda working

This commit is contained in:
minjaesong
2026-02-08 23:54:07 +09:00
parent b5b9e22091
commit 72aae3cffd
2 changed files with 40 additions and 30 deletions

View File

@@ -18,7 +18,7 @@ import kotlin.math.sin
class ActorTestPlatform : ActorMovingPlatform(8) {
/** Movement pattern index (0-3). */
private val pattern: Int = 1//(0..3).random()
private val pattern: Int = (0..3).random()
/** Speed in pixels per tick (2.0 to 4.0). */
private val speed: Double = 2.0 + Math.random() * 2.0