![](/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-06
- Revision:
- 18:0f6f2aa2339d
- Parent:
- 4:0fe59e58def9
File content as of revision 18:0f6f2aa2339d:
#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; }