22 sPhase_c(phaseMethod **methodList,
int count);
A phase is a list of methods to be called in order.
phaseMethod ** mpMethodList
The method list.
METHOD_RESULT_e
Return value of a phase method and callMethod.
@ OK
Proceed to the next method in the phase.
@ WAIT
Do not proceed to the next method in the phase.
unsigned short mPhaseLength
The length of the method list.
sPhase_c(phaseMethod **methodList, int count)
Constructs a new phase with a given method list.
unsigned short mCurrMethod
The index of the method to execute.
METHOD_RESULT_e callMethod(void *thisPtr)
Executes the phase until the end is reached or a method returns METHOD_RESULT_e::WAIT.