![JAR search and dependency download from the Maven repository](/logo.png)
commonMain.ru.casperix.spine.Skin.kt Maven / Gradle / Ivy
package ru.casperix.spine
import casperix.math.color.Color
data class SkinAttachmentKey(val name: String, val slotIndex: Int)
class Skin(
val name:String,
val color: Color,
val attachments: Map,
val bones:List,
val constraints:List
) {
fun getAttachment(slotIndex: Int, attachmentName: String): Attachment? {
return attachments[SkinAttachmentKey(attachmentName, slotIndex)]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy