![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: main.cpp
- Revision:
- 47:50c54cb24316
- Parent:
- 45:7d0a58fbaa8b
- Child:
- 49:726ebd187f75
diff -r 0916f644a931 -r 50c54cb24316 main.cpp --- a/main.cpp Tue Dec 13 13:54:57 2016 +0000 +++ b/main.cpp Tue Dec 13 14:05:32 2016 +0000 @@ -104,6 +104,7 @@ bool wall_collision(point p_person){ int x = p_person.x + 5; int y = p_person.y + 6; + printf("%d %d\n", wall_height[x - 1] , (LCD_Y - y)); if(wall_height[x - 1] > (LCD_Y - y)){ return true; }