This class is the engine of the program. It encapsulates all the methods to do with managing scores, commands and player states(dead/alive).
Diff: Operator.h
- Revision:
- 5:84dfbfb17ef2
- Parent:
- 3:7213eee4c093
- Child:
- 6:9882809b0694
diff -r 62dcc005f7a7 -r 84dfbfb17ef2 Operator.h --- a/Operator.h Fri Apr 14 23:43:24 2017 +0000 +++ b/Operator.h Sat Apr 15 15:39:31 2017 +0000 @@ -21,8 +21,10 @@ void Correct(Controller &pad); void Game_Over(Controller &pad, N5110 &lcd); int score; + private: - void update(Controller &pad); + void update(Controller &pad); + void Assessment(N5110 &lcd, int score); };