77 std::vector<TickObj<ScratcherSet>> mSets;
static constexpr int kSetSize
The number of scratchers in a set.
Definition scratchtrackdata.h:18
~ScratchTrackData()
Release every scratcher.
int GetScratchers(int nTick, Scratcher **ppFirst, Scratcher **ppSecond, Scratcher **ppThird) const
Report the scratchers of the set that plays at a tick.
ScratchTrackData(int nEndTick)
Construct empty data.
void SetScratcher(int nTick, int nIndex, Scratcher *pScratcher)
Place a scratcher in the set that starts at a tick, creating the set when none starts there.
int GetEndTick() const
Definition scratchtrackdata.h:72
Player of the three recorded pieces one scratch button plays.
Definition scratcher.h:20
The scratchers that play from one tick on, deleted with the data.
Definition scratchtrackdata.h:21
std::unique_ptr< Scratcher > mScratchers[kSetSize]
Definition scratchtrackdata.h:22