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:
- 0:3097759acb02
- Child:
- 1:0f98beb0993b
File content as of revision 0:3097759acb02:
#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