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:
- 32:fe6359ef9916
- Parent:
- 31:ab24d028ddfd
- Child:
- 33:4f3948dcd2f7
--- a/Entity/Bullets/Bullets.h Sun May 05 18:37:23 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-#ifndef BULLETS_H
-#define BULLETS_H
-#include "Entity.h"
-
-class Bullets : public Entity
-{
-
-public:
- // Constructor
- Bullets(float, float, int);
-
- // Functions
- virtual void move(float, float, int * map, bool * doorways);
- virtual int * get_frame();
- virtual void take_damage(int);
- bool out_of_bounds_check(int * map, bool * doorways);
-
-private:
- // Member Variable
- int direction;
-};
-
-const int bullets_sprite[3][3] = {{1,1,1},
- {1,1,1},
- {1,1,1}
-};
-
-#endif
\ No newline at end of file