Package org.newdawn.slick.tiled

Examples of org.newdawn.slick.tiled.TiledMap$GroupObject


  /*
   * (non-Javadoc)
   * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
   */
  public void init(GameContainer container) throws SlickException {
    tilemap = new TiledMap("testdata/isoexample.tmx", "testdata/");
  }
View Full Code Here


 
  /**
   * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer)
   */
  public void init(GameContainer container) throws SlickException {
    map = new TiledMap("testdata/testmap.tmx","testdata");
    // read some properties from map and layer
    mapName = map.getMapProperty("name", "Unknown map name");
    monsterDifficulty = map.getLayerProperty(0, "monsters", "easy peasy");
    nonExistingMapProperty = map.getMapProperty("zaphod", "Undefined map property");
    nonExistingLayerProperty = map.getLayerProperty(1, "beeblebrox", "Undefined layer property");
View Full Code Here

TOP

Related Classes of org.newdawn.slick.tiled.TiledMap$GroupObject

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.