Package mindustry.ui.layout
Class TreeLayout.TreeNode<T extends TreeLayout.TreeNode>
java.lang.Object
mindustry.ui.layout.TreeLayout.TreeNode<T>
- Direct Known Subclasses:
ResearchDialog.TechTreeNode
- Enclosing interface:
- TreeLayout
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
width
public float width -
height
public float height -
x
public float x -
y
public float y -
children
-
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
-
ancestor
-
-
Constructor Details
-
TreeNode
public TreeNode()
-
-
Method Details
-
isLeaf
public boolean isLeaf() -
calcWidth
public float calcWidth()
-