Class: TreeSection

TreeSection()

Members

PhaseIdents

Source:

Structures

Source:

TreeSection

Source:

page

Source:

rightMargin

Source:

structureBoxes

Source:

vMargin

Source:

Methods

draw()

Source:

drawPhaseIcon()

Source:

onTrainerSectionWidthChange()

Source:

(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
Source:
Returns:
Type
number