Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
29:6b8411bb040a
Parent:
27:a1b41626f57c
Child:
30:ec915d24d3e9
--- a/Entity/Player/Player.h	Thu May 02 21:30:49 2019 +0000
+++ b/Entity/Player/Player.h	Sat May 04 15:39:20 2019 +0000
@@ -18,23 +18,25 @@
     
 public:
     // Constructors
-    Player(float, float);
+    Player(float pos_x, float pos_y);
     // Deconstructors
     ~Player();
 
-    // Functions
-    virtual void move(float, float, int * map);
-    virtual int * get_frame();
-    virtual void take_damage(int);
-    void buttons(bool, bool, bool, bool);
+    // Accessors
+    int get_bullet_speed();
+    
     int get_hearts_width();
     int get_hearts_height();
     int * get_hearts_sprite();
+    
+    // Functions
+    virtual void move(float, float, int * map, bool * doorways);
+    virtual void take_damage(int damage);
+    virtual int * get_frame();
+    void delete_bullets();
+    void buttons(bool button_A, bool button_B, bool button_Y, bool button_X);
 
-    // accessors
-    int get_bullet_speed();
-
-    // variables
+    // Variables
     Bullets *bullets_array[bullets_max];
     bool valid_bullets[bullets_max];