test avoid bulled game

Dependencies:   C12832_lcd LCD_fonts mbed mbed-rtos

Revision:
12:c74115744b24
Child:
13:70e31c1d8205
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Stage.cpp	Mon Dec 05 12:01:14 2016 +0000
@@ -0,0 +1,16 @@
+#include "point.h"
+#include "models.h"
+
+Stage::Stage(int v){
+    this->v = v;
+    length = STEP_NUM;
+    for(int i = 0; i < STEP_NUM; i++){
+        stage[i].x = LCD_X - i * STEP_SIZE - 1;
+        stage[i].y = 1;    
+    }    
+}
+
+Stage::getStage(point* stage){
+    stage = this->stage;
+    return stage;
+}
\ No newline at end of file