Package mapwriter.tasks

Examples of mapwriter.tasks.CloseRegionManagerTask


    }
    this.blockColours = bc;
  }
 
  public void reloadMapTexture() {
    this.executor.addTask(new CloseRegionManagerTask(this.regionManager));
    this.executor.close();
    MapTexture oldMapTexture = this.mapTexture;
    MapTexture newMapTexture = new MapTexture(this.textureSize, this.linearTextureScalingEnabled);
    this.mapTexture = newMapTexture;
    if (oldMapTexture != null) {
View Full Code Here


      this.chunkManager.close();
      this.chunkManager = null;
     
      // close all loaded regions, saving modified images.
      // this will create extra tasks that need to be completed.
      this.executor.addTask(new CloseRegionManagerTask(this.regionManager));
      this.regionManager = null;
     
      MwUtil.log("waiting for %d tasks to finish...", this.executor.tasksRemaining());
      if (this.executor.close()) {
        MwUtil.log("error: timeout waiting for tasks to finish");
View Full Code Here

TOP

Related Classes of mapwriter.tasks.CloseRegionManagerTask

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.