Package com.plotsquared.core.collection
Class QuadMap<T>
java.lang.Object
com.plotsquared.core.collection.QuadMap<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
count()
int
int
get(int x, int z)
get(com.sk89q.worldedit.regions.CuboidRegion region)
getAll()
com.sk89q.worldedit.regions.CuboidRegion
boolean
intersects(com.sk89q.worldedit.regions.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
public boolean intersects(com.sk89q.worldedit.regions.CuboidRegion other) -
get
-