|
wavelength 1.0.0
|
Listener the gameplay code tells about the player's actions. More...
#include <gamecallback.h>

Public Member Functions | |
| virtual | ~GameCallback () |
| Release the listener. | |
| virtual void | OnGemHit () |
| Report a gem the player hit. | |
| virtual void | OnGemMiss (int nLane) |
| Report a gem the player missed. | |
| virtual void | OnGemPass () |
| Report a gem the player let pass. | |
| virtual void | OnCapture (int nTrack) |
| Report a track the player captured. | |
| virtual void | OnAutocapture () |
| Report an automatic capture. | |
| virtual void | OnStreakBroken (int nStreak) |
| Report a broken streak. | |
| virtual void | OnPowerup () |
| Report a powerup the player deployed. | |
| virtual void | OnPitch () |
| Report a pitch change. | |
| virtual void | OnLoop () |
| Report that looping was switched on. | |
| virtual void | OnSectionChange (int nSection) |
| Report a section change. | |
| virtual void | OnBurnPattern () |
| Report a burned pattern. | |
| virtual void | OnErase () |
| Report an erased pattern. | |
| virtual void | OnEraseSection () |
| Report an erased section. | |
| virtual void | OnRotate (bool bRight) |
| Report a rotation. | |
| virtual void | OnPatternMenuOpen () |
| Report that the pattern menu was opened. | |
Static Public Member Functions | |
| static void | Set (GameCallback *pCallback) |
| Install the listener the gameplay code reports to. | |
Listener the gameplay code tells about the player's actions.
The RTTI includes the class name, and the class has no base. Every member does nothing in this class. A tutorial step that waits for an action derives from it and installs itself as TheGameCallback while it runs.
|
inlinevirtual |
Release the listener.
|
static |
Install the listener the gameplay code reports to.
| pCallback | The listener, or null to stop reporting. |
|
inlinevirtual |
Report a gem the player hit.
Reimplemented in WaitInteractiveTask.
|
inlinevirtual |
Report a gem the player missed.
| nLane | The lane of the gem. |
Reimplemented in WaitInteractiveTask.
|
inlinevirtual |
Report a gem the player let pass.
Reimplemented in WaitInteractiveTask.
|
inlinevirtual |
Report a track the player captured.
| nTrack | The track. |
Reimplemented in WaitInteractiveTask.
|
inlinevirtual |
Report an automatic capture.
Reimplemented in WaitInteractiveTask.
|
inlinevirtual |
Report a broken streak.
| nStreak | The length of the streak that broke. |
Reimplemented in WaitInteractiveTask.
|
inlinevirtual |
Report a powerup the player deployed.
Reimplemented in WaitInteractiveTask.
|
inlinevirtual |
Report a pitch change.
Reimplemented in WaitInteractiveRemixTask.
|
inlinevirtual |
Report that looping was switched on.
Reimplemented in WaitInteractiveRemixTask.
|
inlinevirtual |
Report a section change.
| nSection | The section. |
Reimplemented in WaitInteractiveRemixTask.
|
inlinevirtual |
Report a burned pattern.
Reimplemented in WaitInteractiveRemixTask.
|
inlinevirtual |
Report an erased pattern.
Reimplemented in WaitInteractiveRemixTask.
|
inlinevirtual |
Report an erased section.
Reimplemented in WaitInteractiveRemixTask.
|
inlinevirtual |
Report a rotation.
| bRight | The rotation was to the right. |
Reimplemented in WaitInteractiveRemixTask.
|
inlinevirtual |
Report that the pattern menu was opened.
Reimplemented in WaitInteractiveRemixTask.