コード例 #1
0
            public static SpriteAlphaTween createAlphaTween(SmartSprite spr, float end = 0, float time = 1, Action done = null, PennerDoubleAnimation.EquationType e = PennerDoubleAnimation.EquationType.Linear)
            {
                SpriteAlphaTween t = new SpriteAlphaTween(time, spr, end, done, e);

                TweenManager.Add(t);
                return(t);
            }
コード例 #2
0
        public static ShapeScaleTween createShapeTween(Shape shp, float end = 1, float time = 1, Action done = null, PennerDoubleAnimation.EquationType e = PennerDoubleAnimation.EquationType.Linear)
        {
            ShapeScaleTween t = new ShapeScaleTween(time, shp, end, done, e);

            TweenManager.Add(t);
            return(t);
        }
コード例 #3
0
ファイル: BaseScreen.cs プロジェクト: eriksk/skoggylib
 protected void Tween(ITween tween)
 {
     tweenManager.Add(tween);
 }