Package net.sourceforge.dsnk.logic

Examples of net.sourceforge.dsnk.logic.TexMapsReader


    TexIdxReader idxReader = new TexIdxReader(fis);
    idxData = idxReader.readAll();
    idxReader.close();
   
    File texMapsFile = new File("texmaps.mul");
    TexMapsReader texReader = new TexMapsReader(texMapsFile);
    this.texture = texReader.read(idxData[200]);
    if (this.texture == null) {
      System.err.println("Texture is null!");
    }
  }
View Full Code Here


   
    TexIdxReader texIdxReader = new TexIdxReader(new FileInputStream("texidx.mul"));
    this.texIdxs = texIdxReader.readAll();
    texIdxReader.close();
   
    this.textureReader = new TexMapsReader(new File("texmaps.mul"));
  }
View Full Code Here

    this.loadedBlocks = new HashMap<Point, DrawableBlock>();
    this.textureCache = new AgingCache<Texture>(64);

    // init readers
    this.mapReader = new Map0Reader(map0File);
    this.textureReader = new TexMapsReader(texMapsFile);

    // load data
    LandTileDataReader tileReader = new LandTileDataReader(
        new FileInputStream(tileDataFile));
    this.tileGroups = tileReader.readAll();
View Full Code Here

TOP

Related Classes of net.sourceforge.dsnk.logic.TexMapsReader

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.