public PuppetPart(int id, string name, Frame frame, Puppet puppet)
            : base(name, frame)
        {
            _id = id;
            _puppet = puppet;
            _tAnimation = new TransformKeyframeAnimation(puppet.AnimManager);
            _tAnimation.Apply = (v) =>
                {
                    SetPosition(v.x, v.y);
                    SetRotation(v.rotation);
                    SetScale(v.scaleX, v.scaleY);
                };

            _cAnimation = new ColorKeyframeAnimation(puppet.AnimManager);
            _cAnimation.Apply = (v) => { SetTint(v); };

            _oAnimation = new Vector2KeyframeAnimation(puppet.AnimManager);
            _oAnimation.Apply = (v) => { Origin = v; };
        }
 public PuppetPart(int id, string name, Puppet puppet)
     : this(id, name, null, puppet)
 {
 }