Format betterer

This commit is contained in:
Mikko Ahlroth 2019-10-17 11:39:38 +03:00
parent 0e6a5b0ac6
commit b28b81f538
2 changed files with 9 additions and 12 deletions

View file

@ -5,13 +5,14 @@
#include "debugger.hpp"
#include "randomiser.hpp"
Game::Game(Debugger* debugger, Randomiser* randomiser) : debugger(debugger),
randomiser(randomiser),
state(State::MENU),
currentDelay(DELAY_START),
currentScore(0),
waitingBeeps({}),
waitingBeepsAmount(0) {
Game::Game(Debugger* debugger, Randomiser* randomiser)
: debugger(debugger),
randomiser(randomiser),
state(State::MENU),
currentDelay(DELAY_START),
currentScore(0),
waitingBeeps({}),
waitingBeepsAmount(0) {
debugger->print("Initialising new game...");
}

View file

@ -2,11 +2,7 @@
#include "debugger.hpp"
#include "randomiser.hpp"
enum State {
MENU,
GAME,
SCORE
};
enum State { MENU, GAME, SCORE };
class Game {
Debugger* debugger;