pp
Dependencies: mbed
Game.cpp
- Committer:
- NamSom
- Date:
- 2015-12-05
- Revision:
- 4:a61cdd4e7afa
- Parent:
- 1:ba7154d2d7ca
File content as of revision 4:a61cdd4e7afa:
#include"Game.h" Game::Game(){level=1;} int Game::randomHex(float x) {return (int)(x*1000)%16;} int checkButton(int x) {return x;} int Game::getlevel() {return level;} void Game::resetlevel() {level = 0;} void Game::pluslevel() {if(level<4)level++;}