pp

Dependencies:   mbed

Game.cpp

Committer:
Peeraya
Date:
2015-12-09
Revision:
5:60262753a05f
Parent:
4:a61cdd4e7afa

File content as of revision 5:60262753a05f:

#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++;}