![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: models.h
- Revision:
- 21:1911f2c4684b
- Parent:
- 15:400760117d9d
- Child:
- 23:33d7efd62537
--- a/models.h Sat Dec 10 13:13:00 2016 +0000 +++ b/models.h Mon Dec 12 08:58:36 2016 +0000 @@ -7,9 +7,8 @@ #define LCD_Y 32 //Stage params -#define ONE_STEP_SIZE 15 +#define ONE_STEP_SIZE 10 //#define STEP_NUM LCD_X/ONE_STEP_SIZE+1 -#define STEP_NUM 25 #define ALL_LENGTH 1000 //stage all length #define STAGE_V 1 @@ -54,14 +53,12 @@ class Stage { private: - int v; int length; - point stage[STEP_NUM]; + int stage[LCD_X]; public: - Stage(int v); - point* getStage(); - void getCircledList(point* s); + Stage(); + int* getStage(); + int getLength(); }; - #endif \ No newline at end of file