46 std::vector<int> *pEvents,
60 std::vector<int> *mEvents;
105 std::vector<Ptr<Command>> mCommands;
Unit of work a Scheduler runs at a set time.
Definition command.h:13
Queue of commands that run when the song clock reaches their tick.
Definition scheduler.h:20
~WorldBeatCmd() override=default
Destroy the object.
void Execute() override
Report the event and schedule the next one.
WorldBeatCmd(Scheduler *pScheduler, int nLengthTicks, std::vector< int > *pEvents, char cLetter)
Construct the command of a letter.
~WorldBeat()
Release the player.
WorldBeat(Scheduler *pScheduler, WorldTrack *pTrack, int nLengthTicks)
Construct the player of a track.
void Start()
Schedule the first event.
void Stop()
Withdraw the scheduled event.
The events of the track of a song named "WORLD", sorted by tick.
Definition worldtrack.h:11