Esempio n. 1
0
        protected override void Initialize()
        {
            CurrentAnimations = new List <EaseAnimation>();
            EaseFuncs         = new Dictionary <EasingMethod, EasingFunctionDelegate>();

            Glide.Tweener.SetLerper <Library.Glide.CustomLerpers.PointLerper>(typeof(Point));

            _tweener = new Glide.Tweener();

            EaseFuncs.Add(EasingMethod.Linear, CalcLinear);
            EaseFuncs.Add(EasingMethod.EaseInExpo, CalcExponentialEasingIn);
            EaseFuncs.Add(EasingMethod.EaseInOutQuad, CalcQuadraticEasingInOut);
        }
Esempio n. 2
0
        protected override void Initialize()
        {
            Glide.Tween.TweenerImpl.SetLerper <Library.Glide.CustomLerpers.PointLerper>(typeof(Point));

            this.Tweener = new Glide.Tweener();
        }