Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: BulletS/BulletS.h
- Revision:
- 15:dde4ce4bf7fe
- Parent:
- 14:e88bcf5c0887
- Child:
- 16:987f72d9bb8f
--- a/BulletS/BulletS.h Fri Apr 03 11:19:53 2020 +0000
+++ b/BulletS/BulletS.h Mon Apr 06 15:37:02 2020 +0000
@@ -15,10 +15,12 @@
void update(Gamepad &pad, N5110 &lcd, int shipx, int shipy);
vector<Bullet> get_vector();
void set_hit(int i, bool x);
+ void flag_set();
private:
vector<Bullet> bullet_vector;
int X;
int Y;
- int Shot;
+ int Shoot;
+ Ticker ticker;
};
\ No newline at end of file