This class is the engine of the program. It encapsulates all the methods to do with managing scores, commands and player states(dead/alive).
Operator.h
- Committer:
- domkay97
- Date:
- 2017-04-12
- Revision:
- 1:0f98beb0993b
- Parent:
- 0:3097759acb02
- Child:
- 3:7213eee4c093
File content as of revision 1:0f98beb0993b:
#ifndef OPERATOR_H #define OPERATOR_H #include "mbed.h" #include "N5110.h" #include "Display.h" #include "Controller.h" class Operator { public: Operator(); ~Operator(); void check(N5110 &lcd); int read_input(Controller &pad); int random_instruction(Display &display, N5110 &lcd); void init(); void prnt(N5110 &lcd); private: void update(Controller &pad); }; #endif