new TreeSection()
Members
PhaseIdents
Structures
TreeSection
page
rightMargin
structureBoxes
vMargin
Methods
draw()
drawPhaseIcon()
onTrainerSectionWidthChange()
(static) getPositionOffset(idx) → {number}
Calculate row position offset (accounting for different number of prod rows per phase).
This is a static method as it is also used from within the StructureBox and PhaseIdent classes.
Parameters:
| Name | Type | Description |
|---|---|---|
idx |
number |
Returns:
- Type
- number