![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Bullet.cpp
- Committer:
- kaku_jyoko
- Date:
- 2016-12-16
- Revision:
- 63:4c22abbe4727
- Parent:
- 18:0f6f2aa2339d
File content as of revision 63:4c22abbe4727:
#include "point.h" #include "models.h" Bullet::Bullet(point p, int v){ this->p = p; this->v = v; } point Bullet::update(){ p.x -= v; return p; }