You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
390 B

#ifndef CONTROLLER_H
#define CONTROLLER_H
class Controller
{
public:
Controller() : speed(200), key(1), score(0) {}
void Start();
void Select();
void DrawGame();
int PlayGame();
void UpdateScore(const int&);
void RewriteScore();
int Menu();
void Game();
int GameOver();
private:
int speed;
int key;
int score;
};
#endif // CONTROLLER_H