Package com.pointcliki.transition

Examples of com.pointcliki.transition.LinearLerper


          opacity((float) (1 - (interval - 0.5) * 2));
          position(position().sub(fVector.copy().scale(m - 0.25f)));
        }
      }
    };
    fLerper = new LinearLerper();
    opacity(0);
  }
View Full Code Here


      public boolean canMove(GridCoordinate target) {
        TreeSet<String> traits = fMap.traits(target);
        return (!traits.contains("solid") && !traits.contains("nogo") && !traits.contains("water") && gridManager().getFirstEntityOfTypeAt(target, Grunt.class, Grunt.this) == null);
      }
    };
    fMovement.setup(500, new LinearLerper());
   
    // Setup the tile watcher
    fTileWatcher = new Minion<GridEvent>() {
      public long run(com.pointcliki.event.Dispatcher<GridEvent> dispatcher, String type, GridEvent event) {
        checkTile();
View Full Code Here

  @Override
  public void init(Map map) {
    super.init(map);
    fAnimation.start();
    if (!map.editing()) {
      fMovement.setup(fSpeed, new LinearLerper());
      checkTile();
      fMovement.move(fDir);
     
      fCollider.begin();
    }
View Full Code Here

TOP

Related Classes of com.pointcliki.transition.LinearLerper

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.