This class is the engine of the program. It encapsulates all the methods to do with managing scores, commands and player states(dead/alive).

Revision:
3:7213eee4c093
Parent:
1:0f98beb0993b
Child:
5:84dfbfb17ef2
--- a/Operator.h	Wed Apr 12 23:46:29 2017 +0000
+++ b/Operator.h	Fri Apr 14 22:30:05 2017 +0000
@@ -18,9 +18,12 @@
     int read_input(Controller &pad);  
     int random_instruction(Display &display, N5110 &lcd);
     void init(); 
-    void prnt(N5110 &lcd); 
+    void Correct(Controller &pad); 
+    void Game_Over(Controller &pad, N5110 &lcd);
+    int score;
 private:
-    void update(Controller &pad);
+    void update(Controller &pad);  
+    
     
 };