Package it.marteEngine.tween

Examples of it.marteEngine.tween.NumTween


  private FuzzyFactory() {
  }

  public static Tween getFadeTween(float t) {
    NumTween tween = new NumTween(1, 0, t, TweenerMode.ONESHOT,
        Ease.CUBE_OUT, false);
    tween.setName(FADE);
    return tween;
  }
View Full Code Here


    tween.setName(FADE);
    return tween;
  }

  public static Tween getMoveUpTween(float t) {
    NumTween tween = new NumTween(0, 5, t, TweenerMode.ONESHOT,
        Ease.QUAD_IN, false);
    tween.setName(MOVE_UP);
    return tween;
  }
View Full Code Here

    return new Tweener(getFadeTween(t), getMoveUpTween(t));
  }

  public static Tweener getMoveTweener(float t, float fromx, float fromy,
      float tox, float toy) {
    NumTween tweenx = new NumTween(fromx, tox, t, TweenerMode.ONESHOT,
        Ease.CUBE_OUT, false);
    tweenx.setName(MOVEX);
    NumTween tweeny = new NumTween(fromy, toy, t, TweenerMode.ONESHOT,
        Ease.CUBE_OUT, false);
    tweeny.setName(MOVEY);
    return new Tweener(getFadeTween(t), tweenx, tweeny);
  }
View Full Code Here

TOP

Related Classes of it.marteEngine.tween.NumTween

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.