Revenge of the Mouse
Dependencies: 4DGL-uLCD-SE EthernetInterface Game_Synchronizer LCD_fonts MMA8452 SDFileSystem mbed-rtos mbed wave_player
Fork of 2035_Tanks_Shell by
Diff: bullet.h
- Revision:
- 17:7bc7127782e4
- Parent:
- 16:b73f0842d3cd
- Child:
- 18:18dfc9fb33b5
--- a/bullet.h Tue Oct 27 18:10:03 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -#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 \ No newline at end of file