test avoid bulled game

Dependencies:   C12832_lcd LCD_fonts mbed mbed-rtos

Committer:
th_mbed
Date:
Mon Dec 05 12:11:29 2016 +0000
Revision:
13:70e31c1d8205
Parent:
12:c74115744b24
Child:
15:400760117d9d
modify compile error in Stage

Who changed what in which revision?

UserRevisionLine numberNew contents of line
th_mbed 12:c74115744b24 1 #include "point.h"
th_mbed 12:c74115744b24 2 #include "models.h"
th_mbed 12:c74115744b24 3
th_mbed 12:c74115744b24 4 Stage::Stage(int v){
th_mbed 12:c74115744b24 5 this->v = v;
th_mbed 12:c74115744b24 6 length = STEP_NUM;
th_mbed 12:c74115744b24 7 for(int i = 0; i < STEP_NUM; i++){
th_mbed 13:70e31c1d8205 8 stage[i].x = LCD_X - i * ONE_STEP_SIZE - 1;
th_mbed 13:70e31c1d8205 9 stage[i].y = LCD_Y - 2;
th_mbed 12:c74115744b24 10 }
th_mbed 12:c74115744b24 11 }
th_mbed 12:c74115744b24 12
th_mbed 13:70e31c1d8205 13 point* Stage::getStage(point* stage){
th_mbed 12:c74115744b24 14 stage = this->stage;
th_mbed 12:c74115744b24 15 return stage;
th_mbed 12:c74115744b24 16 }