Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
21:be18f33da757
Parent:
16:ddb203a74dfc
--- a/Entity/Player/Player.h	Thu Apr 25 03:56:09 2019 +0000
+++ b/Entity/Player/Player.h	Thu Apr 25 05:27:43 2019 +0000
@@ -5,19 +5,20 @@
 
 const int bullets_max = 20;
 
-class Player : public Entity {
-    public:
+class Player : public Entity
+{
+public:
     // Constructors
     Player(float, float);
-    
+
     // Functions
     virtual void move(float, float);
     virtual int * get_frame();
     void buttons(bool, bool, bool, bool);
-    
+
     // accessors
     int get_attack();
-    
+
     // variables
     Bullets *bullets_array[bullets_max];
     bool valid_bullets[bullets_max];
@@ -26,7 +27,8 @@
 };
 
 const int sprite_player [4][4][12][6] = {   // Player [Face][SpriteAnimationFrame][Size_Y][Size_X]
-    {   // Up
+    {
+        // Up
         {
             {0,1,1,1,1,0,},
             {1,1,1,1,1,1,},
@@ -84,7 +86,8 @@
             {0,0,0,0,1,0,}
         }
     },
-    {   // Right
+    {
+        // Right
         {
             {0,1,1,1,1,0,},
             {1,1,1,1,1,1,},
@@ -201,7 +204,8 @@
             {0,0,0,0,1,0,}
         }
     },
-    {   // Left
+    {
+        // Left
         {
             {0,1,1,1,1,0,},
             {1,1,1,1,1,1,},