127 void EvaluateConditions();
136 void EvaluateCondition(
DataArray *pCondition);
146 void RunActions(
DataArray *pCondition,
int nFirst);
155 int mCaptureFailCount;
158 float mActiveIdleTime;
161 int mAutocaptureCount;
Reference-counted array of script data nodes.
Definition dataarray.h:20
Listener the gameplay code tells about the player's actions.
Definition gamecallback.h:10
Task()
Construct an idle task.
Definition task.h:24
Rules of the tutorial song.
Definition tutorialgamelogic.h:36
void OnStop() override
Stop reporting to the task.
void OnStart() override
Install the task as TheGameCallback, and reset the counts and the times.
void OnStreakBroken(int nStreak) override
Count a broken streak, and evaluate the conditions.
WaitInteractiveTask(DataArray *pStep, TutorialGameLogic *pLogic)
Construct a task for one tutorial step.
void OnAutocapture() override
Count an automatic capture, and evaluate the conditions.
void OnPoll() override
Run the actions of the timed conditions whose time has passed.
void OnCapture(int nTrack) override
Count a capture, and evaluate the conditions.
void OnPowerup() override
Count a deployed powerup, and evaluate the conditions.
void OnGemHit() override
Count a hit gem, and evaluate the conditions.
~WaitInteractiveTask() override=default
Destroy the object.
void OnGemPass() override
Count a gem that passed, and evaluate the conditions.
void OnGemMiss(int nLane) override
Count a missed gem, and evaluate the conditions.