public ObjectTweener(object targ, Curve curve)
        {
            if (targ == null) throw new System.ArgumentNullException("targ");
            if (curve == null) throw new System.ArgumentNullException("curve");
            if (curve.Tween != null) throw new System.ArgumentException("Tweener can only be created with an unregistered Curve.", "curve");

            _target = targ;
            _curve = curve;
            _curve.Init(this);
        }
 //#########################
 // CURVES
 //
 public TweenHash Curve(Curve curve)
 {
     _props.Add(new PropInfo(AnimMode.Curve, null, null, curve, float.NaN, null));
     return this;
 }
 public static Tweener PlayCurve(object targ, Curve curve)
 {
     var tween = new ObjectTweener(targ, curve);
     tween.Play();
     return tween;
 }