Class ChunkLoader
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.map.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 loadingint
getCoordX()
Get the chunk coordinate.int
getCoordY()
Get the chunk coordinate.void
run()
-
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.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:
-
-