All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.ru.casperix.spine.animation.Animation.kt Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show 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 - 2024 Weber Informatics LLC | Privacy Policy