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 MotionSensor
Diff: Entity/Bullets/Bullets.h
- Revision:
- 22:7abf4581bc9b
- Parent:
- 14:3361879490b2
- Child:
- 23:5a8f75e93508
diff -r 3c030560e31d -r 7abf4581bc9b Entity/Bullets/Bullets.h
--- a/Entity/Bullets/Bullets.h Thu Apr 25 03:32:36 2019 +0000
+++ b/Entity/Bullets/Bullets.h Thu Apr 25 05:53:30 2019 +0000
@@ -2,23 +2,25 @@
#define BULLETS_H
#include "Entity.h"
-class Bullets : public Entity {
-
- public:
+class Bullets : public Entity
+{
+
+public:
// Constructor
Bullets(float, float, int);
-
+
// Functions
virtual void move(float, float);
virtual int * get_frame();
bool out_of_bounds_check();
-
- private:
+
+private:
// Member Variable
int direction;
};
const int bullets_sprite[2][2] = {{1,1},
- {1,1}};
+ {1,1}
+};
#endif
\ No newline at end of file