Package org.newdawn.slick.tiled

Examples of org.newdawn.slick.tiled.Layer


  @Override
  public void render(int x, int y, int sx, int sy, int width, int height,
      boolean lineByLine) {
    for (int ty = 0; ty < height; ty++) {
      for (int i = 0; i < layers.size(); i++) {
        Layer layer = (Layer) layers.get(i);
        if (!m_isCurrent) {
          layer.render(x, y, sx, sy, width, ty, lineByLine,
              tileWidth, tileHeight);
        } else if (!layer.name.equalsIgnoreCase("WalkBehind")) {
          layer.render(x, y, sx, sy, width, ty, lineByLine,
              tileWidth, tileHeight);
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.newdawn.slick.tiled.Layer

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.