Judge of the presses on the lanes of one catch track.
More...
#include <gemcatcher.h>
|
| | GemCatcher (Receiver *pReceiver, CatchTrackState *pState, const float *pMsPerTick, int nTrack, int nTicksPerBar) |
| | Construct the commands of every lane.
|
| | ~GemCatcher () |
| | Withdraw the queued commands.
|
| void | Start () |
| | Queue the command of every lane from the current tick.
|
| void | Stop () |
| | Withdraw the command of every lane.
|
| void | Reset () |
| | Queue the command of every lane again from the current tick.
|
| void | Catch (int nLane) |
| | Judge a press on a lane at the current tick.
|
|
| static constexpr int | kNumLanes = 3 |
| | The number of lanes of a catch track.
|
Judge of the presses on the lanes of one catch track.
The class is not polymorphic and has no RTTI. The name comes from the RTTI of its nested classes. Each lane has a CatchCheckCmd that waits on the next gem of the lane.
◆ GemCatcher()
| GemCatcher::GemCatcher |
( |
Receiver * | pReceiver, |
|
|
CatchTrackState * | pState, |
|
|
const float * | pMsPerTick, |
|
|
int | nTrack, |
|
|
int | nTicksPerBar ) |
Construct the commands of every lane.
- Parameters
-
| pReceiver | The receiver of the judgements. |
| pState | The state of the track. |
| pMsPerTick | The length of a tick in milliseconds. |
| nTrack | The track. |
| nTicksPerBar | The length of a bar in ticks. |
- Ghidra address:
- NTSC-U/C: 0x00117160
- Ghidra address:
- PAL: 0x001188f8
◆ ~GemCatcher()
| GemCatcher::~GemCatcher |
( |
| ) |
|
Withdraw the queued commands.
- Ghidra address:
- NTSC-U/C: 0x00117278
- Ghidra address:
- PAL: 0x00118a10
◆ Start()
| void GemCatcher::Start |
( |
| ) |
|
Queue the command of every lane from the current tick.
- Ghidra address:
- NTSC-U/C: 0x001172f8
- Ghidra address:
- PAL: 0x00118a90
◆ Stop()
| void GemCatcher::Stop |
( |
| ) |
|
Withdraw the command of every lane.
- Ghidra address:
- NTSC-U/C: 0x00117350
- Ghidra address:
- PAL: 0x00118ae8
◆ Reset()
| void GemCatcher::Reset |
( |
| ) |
|
Queue the command of every lane again from the current tick.
- Ghidra address:
- NTSC-U/C: 0x001173b0
- Ghidra address:
- PAL: 0x00118b48
◆ Catch()
| void GemCatcher::Catch |
( |
int | nLane | ) |
|
Judge a press on a lane at the current tick.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00117400
- Ghidra address:
- PAL: 0x00118b98
◆ kNumLanes
| int GemCatcher::kNumLanes = 3 |
|
staticconstexpr |
The number of lanes of a catch track.
The documentation for this class was generated from the following file: