commonMain.ru.casperix.spine.Constraints.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
interface ConstraintData {
val name:String
var order:Int
var skinRequired:Boolean
}
class IkConstraintData(
override val name:String,
override var order:Int,
override var skinRequired:Boolean,
) : ConstraintData
class PathConstraintData(
override val name:String,
override var order:Int,
override var skinRequired:Boolean,
) : ConstraintData
class PhysicConstraintData(
override val name:String,
override var order:Int,
override var skinRequired:Boolean,
) : ConstraintData
class TransformConstraintData(
override val name:String,
override var order:Int,
override var skinRequired:Boolean,
) : ConstraintData
class IkConstraint(val skeleton: Skeleton, val data:IkConstraintData)
class PathConstraint(val skeleton: Skeleton, val data:PathConstraintData)
class PhysicsConstraint(val skeleton: Skeleton, val data:PhysicConstraintData)
class TransformConstraint(val skeleton: Skeleton, val data:TransformConstraintData)