Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
13:d04a6caba40d
Parent:
12:a1c1991835ca
Child:
14:3361879490b2
diff -r a1c1991835ca -r d04a6caba40d Entity/Bullets/Bullets.h
--- a/Entity/Bullets/Bullets.h	Tue Apr 23 22:59:12 2019 +0000
+++ b/Entity/Bullets/Bullets.h	Wed Apr 24 02:33:33 2019 +0000
@@ -1,19 +1,23 @@
-//#ifndef BULLETS_H
-//#define BULLETS_H
-//#include "Entity.h"
-//
-//class Bullets : public Entity {
-//    
-//    public:
-//    // Constructor
-//    Bullets(float, float);
-//    
-//    // Functions
-//    virtual void move(float x, float y, int);
-//    virtual void chkdmg();
-//    
-//    private:
-//    const float bullet_velocity = 0.5;
-//};
-//
-//#endif
\ No newline at end of file
+#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);
+    virtual int * get_frame();
+    
+    private:
+    // Member Variable
+    int direction;
+};
+
+const int bullets_sprite[2][2] = {{1,1},
+                                  {1,1}};
+
+#endif
\ No newline at end of file