Package org.collebol.game.world
Class WorldLoader
java.lang.Object
org.collebol.game.world.WorldLoader
Class responsible for loading chunks in the EJGEngine.
This class handles loading chunks from files based on the render distance.
Usage:
WorldLoader loader = new WorldLoader(myWorld, 4);
List<Chunk> chunks = loader.loadRenderDistanceChunkFileFromLocation(myLocation);
- Since:
- 1.0-dev
- Author:
- ColleBol - contact@collebol.org
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintloadRenderDistanceChunkFileFromLocation(GameLocation gameLocation) voidsetRenderDistance(int renderDistance)
-
Constructor Details
-
WorldLoader
-
-
Method Details
-
getRenderDistance
public int getRenderDistance() -
setRenderDistance
public void setRenderDistance(int renderDistance)