Class TreeLayout.TreeNode<T extends TreeLayout.TreeNode>

java.lang.Object
mindustry.ui.layout.TreeLayout.TreeNode<T>
Direct Known Subclasses:
ResearchDialog.TechTreeNode
Enclosing interface:
TreeLayout

public static class TreeLayout.TreeNode<T extends TreeLayout.TreeNode> extends Object
  • Field Details

    • width

      public float width
    • height

      public float height
    • x

      public float x
    • y

      public float y
    • children

      public T extends TreeLayout.TreeNode[] children
    • parent

      public T extends TreeLayout.TreeNode parent
    • mode

      public float mode
    • prelim

      public float prelim
    • change

      public float change
    • shift

      public float shift
    • cachedWidth

      public float cachedWidth
    • number

      public int number
    • leaves

      public int leaves
    • thread

      public TreeLayout.TreeNode thread
    • ancestor

      public TreeLayout.TreeNode ancestor
  • Constructor Details

    • TreeNode

      public TreeNode()
  • Method Details

    • isLeaf

      public boolean isLeaf()
    • calcWidth

      public float calcWidth()