![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Shell code for the Tanks game
Dependencies: 4DGL-uLCD-SE EthernetInterface Game_Synchronizer MMA8452 SDFileSystem mbed-rtos mbed wave_player
Bullet/bullet.h
- Committer:
- jford38
- Date:
- 2015-10-28
- Revision:
- 17:7bc7127782e4
- Parent:
- bullet.h@ 15:4b27a3a95772
- Child:
- 21:edfeb289b21f
File content as of revision 17:7bc7127782e4:
#ifndef BULLET_H__ #define BULLET_H__ #include "tank.h" class Bullet{ public: int x0; int y0; float vx0; float vy0; int x; int y; int speed; float time; bool in_flight; Tank* tank; Bullet(Tank* t); void shoot(void); int time_step(float dt); }; #endif