wavelength 1.0.0
Loading...
Searching...
No Matches
GemCatcher::Receiver Class Referenceabstract

Object told of each judged gem and press. More...

#include <gemcatcher.h>

Inheritance diagram for GemCatcher::Receiver:

Public Member Functions

virtual ~Receiver ()
 Release the receiver.
virtual void OnHit (int nTick, const GemCursor &cursor)=0
 Handle a caught gem.
virtual void OnPass (int nTick, const GemCursor &cursor)=0
 Handle a gem that passed without a press.
virtual void OnMiss (int nTick, int nLane)=0
 Handle a press that caught no gem.

Detailed Description

Object told of each judged gem and press.

The RTTI includes the class name.

Constructor & Destructor Documentation

◆ ~Receiver()

virtual GemCatcher::Receiver::~Receiver ( )
inlinevirtual

Release the receiver.

Ghidra address:
NTSC-U/C: 0x00335720
Ghidra address:
PAL: 0x003a2cd0

Member Function Documentation

◆ OnHit()

virtual void GemCatcher::Receiver::OnHit ( int nTick,
const GemCursor & cursor )
pure virtual

Handle a caught gem.

Parameters
nTickThe tick of the press.
cursorThe gem.

Implemented in TrackCapturer::CatchReceiver.

◆ OnPass()

virtual void GemCatcher::Receiver::OnPass ( int nTick,
const GemCursor & cursor )
pure virtual

Handle a gem that passed without a press.

Parameters
nTickThe tick the gem was judged at.
cursorThe gem.

Implemented in TrackCapturer::CatchReceiver.

◆ OnMiss()

virtual void GemCatcher::Receiver::OnMiss ( int nTick,
int nLane )
pure virtual

Handle a press that caught no gem.

Parameters
nTickThe tick of the press.
nLaneThe lane.

Implemented in TrackCapturer::CatchReceiver.


The documentation for this class was generated from the following file: