pp
Dependencies: mbed
Game.h@5:60262753a05f, 2015-12-09 (annotated)
- Committer:
- Peeraya
- Date:
- Wed Dec 09 02:09:36 2015 +0000
- Revision:
- 5:60262753a05f
- Parent:
- 4:a61cdd4e7afa
Super Cute Alarm Clock
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NamSom | 1:ba7154d2d7ca | 1 | #ifndef GAME_H_INCLUDED |
NamSom | 1:ba7154d2d7ca | 2 | #define GAME_H_INCLUDED |
NamSom | 4:a61cdd4e7afa | 3 | #include"DigitDisplay.h" |
NamSom | 1:ba7154d2d7ca | 4 | |
NamSom | 1:ba7154d2d7ca | 5 | class Game |
NamSom | 1:ba7154d2d7ca | 6 | { |
NamSom | 1:ba7154d2d7ca | 7 | private: |
NamSom | 4:a61cdd4e7afa | 8 | int level; |
NamSom | 1:ba7154d2d7ca | 9 | public: |
NamSom | 1:ba7154d2d7ca | 10 | Game(); |
NamSom | 4:a61cdd4e7afa | 11 | char dectohex(int dec); |
NamSom | 4:a61cdd4e7afa | 12 | int randomHex(float x); |
NamSom | 4:a61cdd4e7afa | 13 | int checkButton(int x); |
NamSom | 4:a61cdd4e7afa | 14 | int getlevel(); |
NamSom | 4:a61cdd4e7afa | 15 | void resetlevel(); |
NamSom | 4:a61cdd4e7afa | 16 | void pluslevel(); |
NamSom | 1:ba7154d2d7ca | 17 | |
NamSom | 1:ba7154d2d7ca | 18 | }; |
NamSom | 1:ba7154d2d7ca | 19 | |
NamSom | 1:ba7154d2d7ca | 20 | |
NamSom | 4:a61cdd4e7afa | 21 | |
NamSom | 1:ba7154d2d7ca | 22 | #endif // GAME_H_INCLUDED |