Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
32:fe6359ef9916
Parent:
31:ab24d028ddfd
Child:
33:4f3948dcd2f7
--- a/Entity/Headless/Headless.h	Sun May 05 18:37:23 2019 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,210 +0,0 @@
-#ifndef HEADLESS_H
-#define HEADLESS_H
-#include "Entity.h"
-
-class Headless : public Entity
-{
-
-public:
-    // Constructor
-    Headless(float, float);
-
-    // Functions
-    virtual void move(float player_x, float player_y, int * map, bool * doorways);
-    virtual int * get_frame();
-    virtual void take_damage(int damage);
-
-};
-
-const int sprite_headless[4][4][9][6] = {   // Player [Face][SpriteAnimationFrame][Size_Y][Size_X]
-    {
-        // Up
-        {
-            {0,0,0,0,0,0,},
-            {1,0,0,0,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,}
-        },
-        {
-            {0,0,0,0,0,0,},
-            {0,0,0,1,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,0,0,0,1,0,}
-        },
-        {
-            {0,0,0,0,1,0,},
-            {0,0,1,0,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,}
-        },
-        {
-            {0,1,0,0,0,0,},
-            {0,0,0,0,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,0,0,}
-        }
-    },
-    {
-        // Right
-        {
-            {0,0,0,0,0,0,},
-            {0,0,1,0,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,1,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,0,0,0,},
-            {0,0,1,0,0,0,},
-            {0,0,1,1,0,0,}
-        },
-        {
-            {0,1,0,0,0,0,},
-            {0,0,0,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,1,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,0,1,0,},
-            {0,0,1,0,1,0,},
-            {0,1,0,0,0,1,}
-        },
-        {
-            {0,0,0,0,1,0,},
-            {0,0,0,0,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,1,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,0,0,0,},
-            {0,0,1,0,0,0,},
-            {0,0,1,1,0,0,}
-        },
-        {
-            {0,0,0,0,0,0,},
-            {0,0,0,0,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,1,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,0,1,0,},
-            {0,0,1,0,1,0,},
-            {0,1,0,0,0,1,}
-        }
-    },
-    {
-        // Down
-        {
-            {0,0,0,0,0,0,},
-            {1,0,0,0,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,}
-        },
-        {
-            {0,0,0,0,0,0,},
-            {0,0,0,1,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,0,0,0,1,0,}
-        },
-        {
-            {0,0,0,0,1,0,},
-            {0,0,1,0,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,}
-        },
-        {
-            {0,1,0,0,0,0,},
-            {0,0,0,0,0,0,},
-            {0,1,1,1,1,0,},
-            {1,0,1,1,0,1,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,1,0,},
-            {0,1,0,0,0,0,}
-        }
-    },
-    {
-        // Left
-        {
-            {0,0,0,0,0,0,},
-            {0,0,0,1,0,0,},
-            {0,0,1,1,0,0,},
-            {1,1,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,0,1,0,0,},
-            {0,0,0,1,0,0,},
-            {0,0,1,1,0,0,}
-        },
-        {
-            {0,0,0,0,1,0,},
-            {0,0,1,0,0,0,},
-            {0,0,1,1,0,0,},
-            {1,1,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,1,0,0,},
-            {0,1,0,1,0,0,},
-            {1,0,0,0,1,0,}
-        },
-        {
-            {0,1,0,0,0,0,},
-            {0,0,0,0,0,0,},
-            {0,0,1,1,0,0,},
-            {1,1,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,0,1,0,0,},
-            {0,0,0,1,0,0,},
-            {0,0,1,1,0,0,}
-        },
-        {
-            {0,0,0,0,0,0,},
-            {1,0,0,0,0,0,},
-            {0,0,1,1,0,0,},
-            {1,1,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,0,1,1,0,0,},
-            {0,1,0,1,0,0,},
-            {0,1,0,1,0,0,},
-            {1,0,0,0,1,0,}
-        }
-    }
-};
-
-#endif
\ No newline at end of file