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.cpp
- Committer:
- domkay97
- Date:
- 2017-04-12
- Revision:
- 0:3097759acb02
- Child:
- 1:0f98beb0993b
File content as of revision 0:3097759acb02:
#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(); }