Package com.plotsquared.core.collection
Class QuadMap<T>
java.lang.Object
com.plotsquared.core.collection.QuadMap<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
count()
int
int
get
(int x, int z) get
(CuboidRegion region) getAll()
boolean
intersects
(CuboidRegion other) newInstance
(int newsize, int x, int z, int min) void
boolean
-
Field Details
-
size
public final int size -
x
public final int x -
z
public final int z -
objects
-
one
-
two
-
three
-
four
-
skip
-
-
Constructor Details
-
QuadMap
public QuadMap(int size, int x, int z) -
QuadMap
public QuadMap(int size, int x, int z, int min)
-
-
Method Details
-
count
public int count() -
getAll
-
countCurrent
public int countCurrent() -
countBelow
public int countBelow() -
add
-
getRegion
-
newInstance
-
remove
-
recalculateSkip
public void recalculateSkip() -
get
-
intersects
-
get
-