commonMain.ru.casperix.spine.animation.Animation.kt Maven / Gradle / Ivy
The newest version!
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()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy