Package net.pdevita.creeperheal2.core
Class Boundary
-
- All Implemented Interfaces:
public final class Boundary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Boundary.Companion
-
Constructor Summary
Constructors Constructor Description Boundary(Location initialLocation, MergeableLinkedList<ExplodedBlock> explosionBlocks, MergeableLinkedList<ExplodedEntity> explosionEntities)
Boundary(MergeableLinkedList<ExplodedBlock> explosionBlocks)
Boundary(List<Block> blockList)
Boundary(Integer highX, Integer highY, Integer highZ, Integer lowX, Integer lowY, Integer lowZ, World world)
-
Method Summary
Modifier and Type Method Description final Integer
getHighX()
final Unit
setHighX(Integer highX)
final Integer
getHighY()
final Unit
setHighY(Integer highY)
final Integer
getHighZ()
final Unit
setHighZ(Integer highZ)
final Integer
getLowX()
final Unit
setLowX(Integer lowX)
final Integer
getLowY()
final Unit
setLowY(Integer lowY)
final Integer
getLowZ()
final Unit
setLowZ(Integer lowZ)
final World
getWorld()
final Unit
setWorld(World world)
final Boolean
overlaps(Boundary other)
final BoundingBox
toBoundingBox()
final Triple<Integer, Integer, Integer>
centerAsVector()
final Location
center()
final Boolean
inBoundary(Location loc)
String
toString()
-
-
-
Constructor Detail
-
Boundary
Boundary(Location initialLocation, MergeableLinkedList<ExplodedBlock> explosionBlocks, MergeableLinkedList<ExplodedEntity> explosionEntities)
-
Boundary
Boundary(MergeableLinkedList<ExplodedBlock> explosionBlocks)
-
Boundary
Boundary(List<Block> blockList)
-
-
Method Detail
-
getWorld
final World getWorld()
-
toBoundingBox
final BoundingBox toBoundingBox()
-
centerAsVector
final Triple<Integer, Integer, Integer> centerAsVector()
-
center
final Location center()
-
inBoundary
final Boolean inBoundary(Location loc)
-
-