private static TilesetGroupAnimationMap createAnimationMap(){
  final TilesetGroupAnimationMap map=new TilesetGroupAnimationMap();
  final URL url=DataLoader.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);
    }
  }
  return map;
}

private static TilesetGroupAnimationMap createAnimationMap ( ) { final TilesetGroupAnimationMap map = new TilesetGroupAnimationMap ( ) ; final URL url = DataLoader . 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 ) ; } } return map ; }
create the tileset animation map .
