If the code hasn't been touched in this long, its probably release-worthy.
This commit is contained in:
@@ -21,6 +21,14 @@ public:
|
||||
return InputEvent{};
|
||||
}
|
||||
|
||||
void handleEvent(const InputEvent& evt) override {
|
||||
if (evt.intent == InputEvent::Beat) {
|
||||
m_idx %= m_colors.size();
|
||||
m_reset = true;
|
||||
m_idx++;
|
||||
}
|
||||
}
|
||||
|
||||
void onStart() override {
|
||||
m_reset = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user