Package games.stendhal.client.sprite

Examples of games.stendhal.client.sprite.TilesetGroupAnimationMap


   * Create the tileset animation map.
   *
   * @return A tileset animation map.
   */
  protected static TilesetGroupAnimationMap createAnimationMap() {
    final TilesetGroupAnimationMap map = new TilesetGroupAnimationMap();

    final URL url = TileStore.class.getClassLoader().getResource(baseFolder + "tileset/animation.seq");

    if (url != null) {
      try {
        final InputStream in = url.openStream();

        try {
          map.load(in);
        } finally {
          in.close();
        }
      } catch (final IOException ex) {
        logger.error("Error loading tileset animation map", ex);
View Full Code Here

TOP

Related Classes of games.stendhal.client.sprite.TilesetGroupAnimationMap

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.