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:
- 3:8a140aa1ddcd
- Parent:
- 2:c2316b659b97
- Child:
- 4:18a1fc4c38e0
--- a/BulletS/BulletS.h Sat Mar 14 20:52:07 2020 +0000
+++ b/BulletS/BulletS.h Sat Mar 14 21:19:58 2020 +0000
@@ -1,14 +1,13 @@
-#include Pad.h
-#include mbed.h
-#include N5110.h
-#include Gamepad.h
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
class Bullet
{
public:
Bullet();
- void init(int size, int X, int Y);
+ void init(int size, int speed);
void draw(N5110 &lcd);
void update();
Vector2D get_position();