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.cpp	Wed Apr 12 13:53:10 2017 +0000
@@ -0,0 +1,32 @@
+#include "Operator.h"
+
+Operator::Operator()
+{
+
+}
+
+Operator::~Operator()
+{
+
+}
+
+
+void Operator::init()
+{
+} 
+int Operator::read_input(Gamepad &pad) {
+  
+    return(pad.check_for_buttons()); 
+} 
+
+int Operator::read_instruction(Display &display) {
+  
+    return(display.calculateWait()); 
+
+} 
+ 
+void Operator::prnt(N5110 &lcd)
+    {
+    lcd.printString("Hello, dom!",0,0); 
+    lcd.refresh();
+    } 
\ No newline at end of file