Class ChunkLoader

  • All Implemented Interfaces:
    java.lang.Runnable


    public class ChunkLoader
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Summary

      Constructors 
      Constructor Description
      ChunkLoader​(Map map, java.io.File path, int coordX, int coordY, Generator generator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Chunk getChunk​()
      has a chunk if it has finished loading
      int getCoordX​()
      Get the chunk coordinate.
      int getCoordY​()
      Get the chunk coordinate.
      void run​()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChunkLoader

        public ChunkLoader​(Map map,
                           java.io.File path,
                           int coordX,
                           int coordY,
                           Generator generator)
        Parameters:
        map -
        path -
        coordX -
        coordY -
        generator -
    • Method Detail

      • run

        public void run​()
        Specified by:
        run in interface java.lang.Runnable
      • getChunk

        public Chunk getChunk​()
        has a chunk if it has finished loading
        Returns:
      • getCoordX

        public int getCoordX​()
        Get the chunk coordinate.
        Returns:
      • getCoordY

        public int getCoordY​()
        Get the chunk coordinate.
        Returns: