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:
0:3097759acb02
Child:
1:0f98beb0993b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Operator.h	Wed Apr 12 13:53:10 2017 +0000
@@ -0,0 +1,27 @@
+#ifndef OPERATOR_H
+#define OPERATOR_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Display.h" 
+#include "Gamepad.h"  
+
+class Operator
+{
+
+public:
+    Operator();
+    ~Operator();
+
+
+    void check(N5110 &lcd);
+    int read_input(Gamepad &pad);  
+    int read_instruction(Display &display);
+    void init(); 
+    void prnt(N5110 &lcd); 
+private:
+    void update(Gamepad &pad);
+    
+};
+
+#endif
\ No newline at end of file