Panel hit detection but broken available games, thats enough for tonight

This commit is contained in:
Jon ESA
2026-04-01 22:13:50 +01:00
parent 81e8cf74c4
commit d4ad6f4258
3 changed files with 80 additions and 14 deletions

View File

@@ -13,6 +13,7 @@ public:
void setRnpCount(int count);
void setPanelColor(int index, const QColor &color);
void impactPanel(int index, int power);
void reset();
protected:
@@ -21,5 +22,6 @@ protected:
private:
int m_count = 0;
QMap<int,QColor> m_colors;
QMap<int,int> m_hits; // panel index → impact power (active for 3 s)
QLabel *m_statusLabel = nullptr;
};