Class Corner

java.lang.Object
hm.zelha.particlesfx.util.Corner

public class Corner extends Object
  • Constructor Details

    • Corner

      public Corner(LocationSafe location)
    • Corner

      public Corner(org.bukkit.World world, double x, double y, double z)
  • Method Details

    • clone

      public Corner clone()
      Overrides:
      clone in class Object
    • connect

      public void connect(int index, Corner corner)
      Parameters:
      index - index for the given corner to be added to this corner's connection list
      corner - corner to connect to
    • connect

      public void connect(Corner corner)
      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

      public void disconnect(Corner corner)
      Parameters:
      corner - connection to be removed from this corner's list
    • setConnection

      public void setConnection(int index, Corner corner)
      Parameters:
      index - index to set
      corner - connection to replace the corner at index
    • setLocation

      public void setLocation(LocationSafe location)
    • getConnection

      public Corner getConnection(int index)
    • getLocation

      public org.bukkit.Location getLocation()
    • getConnectionAmount

      public int getConnectionAmount()