21 lines
464 B
C++
21 lines
464 B
C++
#pragma once
|
|
|
|
|
|
class UserInterface {
|
|
public:
|
|
int getCubeCount();
|
|
void showMenu(double ¤tScoreTime, double &highScoreTime, int ¤tScoreTurns, int &highScoreTurns);
|
|
void showScore(double ¤tScoreTime, double &highScoreTime, int ¤tScoreTurns, int &highScoreTurns);
|
|
|
|
bool menuOpen = false;
|
|
|
|
private:
|
|
int cubeCount = 0;
|
|
bool wrongInput = false;
|
|
};
|
|
|
|
#ifndef USERINTERFACE_H
|
|
#define USERINTERFACE_H
|
|
|
|
#endif //USERINTERFACE_H
|