Package ru.snake.spritepacker.core.packer.comparator

Examples of ru.snake.spritepacker.core.packer.comparator.WidthComparator


  public static Comparator<ImageData> getComparator(CompareType type) {
    if (!cache.containsKey(type)) {
      switch (type) {
      case WIDTH:
        cache.put(CompareType.WIDTH, new WidthComparator());
        break;

      case HEIGHT:
        cache.put(CompareType.HEIGHT, new HeightComparator());
        break;
View Full Code Here

TOP

Related Classes of ru.snake.spritepacker.core.packer.comparator.WidthComparator

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.