add boss wave counter and countdown to the title bar
This commit is contained in:
@@ -17,7 +17,8 @@ public:
|
||||
explicit HeaderBar(QWidget* parent = nullptr);
|
||||
|
||||
public slots:
|
||||
void onStateUpdated(Tick tick, int buildingBlocks, double gameSpeed);
|
||||
void onStateUpdated(Tick tick, int buildingBlocks, double gameSpeed,
|
||||
int bossCounter, Tick bossCountdownTicks);
|
||||
|
||||
signals:
|
||||
void speedChanged(double multiplier);
|
||||
@@ -28,6 +29,7 @@ private slots:
|
||||
private:
|
||||
QLabel* m_timeLabel;
|
||||
QLabel* m_blocksLabel;
|
||||
QLabel* m_bossLabel;
|
||||
std::vector<QPushButton*> m_speedButtons;
|
||||
|
||||
static const double kSpeeds[];
|
||||
|
||||
Reference in New Issue
Block a user