Package net.pl3x.map.core.markers.area
Class Circle
java.lang.Object
net.pl3x.map.core.markers.area.Circle
- All Implemented Interfaces:
Area
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsBlock
(int blockX, int blockZ) boolean
containsChunk
(int chunkX, int chunkZ) boolean
containsRegion
(int regionX, int regionZ) static @NotNull Circle
deserialize
(Map<String, Object> map) boolean
int
int
int
int
hashCode()
@NotNull String
toString()
-
Constructor Details
-
Circle
public Circle(int centerX, int centerZ, int radius)
-
-
Method Details
-
getCenterX
public int getCenterX() -
getCenterZ
public int getCenterZ() -
getRadius
public int getRadius() -
containsBlock
public boolean containsBlock(int blockX, int blockZ) - Specified by:
containsBlock
in interfaceArea
-
containsChunk
public boolean containsChunk(int chunkX, int chunkZ) - Specified by:
containsChunk
in interfaceArea
-
containsRegion
public boolean containsRegion(int regionX, int regionZ) - Specified by:
containsRegion
in interfaceArea
-
serialize
-
deserialize
-
equals
-
hashCode
public int hashCode() -
toString
-