AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
objectives/Objective.cpp
- Committer:
- sillevl
- Date:
- 2015-05-23
- Revision:
- 13:ece97a1108cc
- Child:
- 14:e0bfee0a5e66
File content as of revision 13:ece97a1108cc:
#include "Objective.h" Objective::Objective(){ status = WAITING; } Objective::Status Objective::getStatus(){ return status; } void Objective::start(){ while(status != COMPLETED){ run(); } } void Objective::run(){ //board->lcd->printf("DummyGame"); //board->lcd->printf("press any key to continue"); } void Objective::complete(){ status = COMPLETED; }