Class NetworkNode

java.lang.Object
io.github.sefiraat.networks.network.NetworkNode
Direct Known Subclasses:
NetworkRoot

public class NetworkNode extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • addChild

      public void addChild(@Nonnull NetworkNode child)
    • getNodePosition

      @Nonnull public Location getNodePosition()
    • getNodeType

      @Nonnull public NodeType getNodeType()
    • networkContains

      public boolean networkContains(@Nonnull NetworkNode networkNode)
    • networkContains

      public boolean networkContains(@Nonnull Location location)
    • getRoot

      @Nonnull public NetworkRoot getRoot()
    • getParent

      public NetworkNode getParent()
    • getChildrenNodes

      public Set<NetworkNode> getChildrenNodes()
    • addAllChildren

      public void addAllChildren()
    • retrieveBlockCharge

      protected long retrieveBlockCharge()
    • getPower

      public long getPower()