ChunkBounds

public class ChunkBounds implements IChunkBounds

Class ChunkBounds. Provides chunkbounds functionality for the Hytale server.

java.lang.Object > ChunkBounds

Field Summary

minX

protected int minX

Field minX.

minZ

protected int minZ

Field minZ.

maxX

protected int maxX

Field maxX.

maxZ

protected int maxZ

Field maxZ.

Method Detail

ChunkBounds

public public ChunkBounds ()

Method ChunkBounds.

getLowBoundX

public int getLowBoundX ()

Method getLowBoundX.

getLowBoundZ

public int getLowBoundZ ()

Method getLowBoundZ.

getHighBoundX

public int getHighBoundX ()

Method getHighBoundX.

getHighBoundZ

public int getHighBoundZ ()

Method getHighBoundZ.

expandNegative

public void expandNegative (final int x, final int z)

Method expandNegative.

Parameters:
final int x
final int z

expandPositive

public void expandPositive (final int x, final int z)

Method expandPositive.

Parameters:
final int x
final int z

include

public void include (final int minX, final int minZ, final int maxX, final int maxZ)

Method include.

Parameters:
final int minX
final int minZ
final int maxX
final int maxZ

if

public else if (this.maxX < x)

Method if.

Parameters:
this.maxX < x

toString

public String toString ()

Method toString.