Stores attachments by slot index and attachment name.

Constructor

new(name:String)

Variables

@:value(new Array())attachments:Array<Map<String, Attachment>> = new Array()

Methods

addAttachment(slotIndex:Int, name:String, attachment:Attachment):Void

@:has_untypedattachAll(skeleton:Skeleton, oldSkin:Skin):Void

Attach each attachment in this skin if the corresponding attachment in the old skin is currently attached.

getAttachment(slotIndex:Int, name:String):Attachment

Returns:

May be null.