public class ShapeCircle
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private org.bukkit.Location |
center
The center location of the circle.
|
private boolean |
hollow
If the circle should be hollow.
|
private int |
radius
The radius of the circle.
|
| Constructor and Description |
|---|
ShapeCircle(org.bukkit.Location center,
int radius,
boolean hollow)
Constructs a block structure in the shape of a circle.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.bukkit.block.Block> |
create(org.bukkit.Material material) |
org.bukkit.Location |
getCenter() |
int |
getRadius() |
boolean |
isHollow() |
private final org.bukkit.Location center
private final int radius
private final boolean hollow
public ShapeCircle(org.bukkit.Location center,
int radius,
boolean hollow)
center - The center location of the circle.radius - The radius of the circle.hollow - If the circle should be hollow.public org.bukkit.Location getCenter()
public int getRadius()
public boolean isHollow()
public java.util.List<org.bukkit.block.Block> create(org.bukkit.Material material)