Package hm.zelha.particlesfx.util
Class Corner
java.lang.Object
hm.zelha.particlesfx.util.Corner
-
Constructor Summary
ConstructorsConstructorDescriptionCorner(LocationSafe location) Corner(org.bukkit.World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionclone()voidvoidvoiddisconnect(int index) voiddisconnect(Corner corner) getConnection(int index) intorg.bukkit.LocationvoidsetConnection(int index, Corner corner) voidsetLocation(LocationSafe location)
-
Constructor Details
-
Corner
-
Corner
public Corner(org.bukkit.World world, double x, double y, double z)
-
-
Method Details
-
clone
-
connect
- Parameters:
index- index for the given corner to be added to this corner's connection listcorner- corner to connect to
-
connect
- Parameters:
corner- corner to connect to
-
disconnect
public void disconnect(int index) - Parameters:
index- index of connection to be removed from this corner's list
-
disconnect
- Parameters:
corner- connection to be removed from this corner's list
-
setConnection
- Parameters:
index- index to setcorner- connection to replace the corner at index
-
setLocation
-
getConnection
-
getLocation
public org.bukkit.Location getLocation() -
getConnectionAmount
public int getConnectionAmount()
-