commonMain.ru.casperix.spine.animation.Animation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spine-jvm Show documentation
Show all versions of spine-jvm Show documentation
Signals for all occasions
package ru.casperix.spine.animation
import ru.casperix.spine.Event
import ru.casperix.spine.MixBlend
import ru.casperix.spine.MixDirection
import ru.casperix.spine.Skeleton
class Animation(
val name: String,
val timelines: List,
) {
val duration = timelines.maxOfOrNull { it.duration } ?: 0f
fun apply(
skeleton: Skeleton,
lastTime: Float,
time: Float,
loop: Boolean,
events: List,
alpha: Float,
blend: MixBlend,
direction: MixDirection
) {
TODO()
}
fun hasTimeline(propertyIds: Set): Boolean {
TODO()
}
}