Class LocalServerDataHandler
java.lang.Object
com.ardor3d.example.craft.network.LocalServerDataHandler
Simple data handler that works against a map file.
-
Constructor Summary
ConstructorDescriptionLocalServerDataHandler
(int width, int height, int gridSize, DataGenerator generator, File mapFile) -
Method Summary
-
Constructor Details
-
LocalServerDataHandler
public LocalServerDataHandler(int width, int height, int gridSize, DataGenerator generator, File mapFile)
-
-
Method Details
-
close
public void close() -
getChunk
-
setBlock
public void setBlock(int x, int y, int z, int blockId) -
getBlock
public int getBlock(int x, int y, int z) -
updateClientPosition
public void updateClientPosition(int currentTileX, int currentTileZ)
-