test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
models.h
- Committer:
- kaku_jyoko
- Date:
- 2016-12-05
- Revision:
- 7:defdc7cb4e0b
- Parent:
- 4:0fe59e58def9
- Child:
- 8:2fd3eedcde64
File content as of revision 7:defdc7cb4e0b:
#include "point.h" #ifndef models_h #define models_h #define DEFAULT_X 2 #define DEFAULT_Y 26 //31-6+1 #define MAX_JUMP_TIME 7 #define MAX_JUMP_COUNT 2 class Person { private: point p; int jump_count; int jump_time; public: Person(); point ground(); point update(); point jump(); }; class Bullet { private: point p; int v; public: Bullet(point p, int v); point update(); }; #endif