using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Spine.Interfaces;
using Spine.Interfaces.Attachments;
using SpineRuntime41;

namespace Spine.Implementations.V41.Attachments
{
    internal abstract class Attachment41(Attachment innerObject) : IAttachment
    {
        private readonly Attachment _o = innerObject;

        public virtual Attachment InnerObject => _o;

        public string Name => _o.Name;

        public abstract int ComputeWorldVertices(ISlot slot, ref float[] worldVertices);

        public override string ToString() => _o.ToString();
    }
}
