Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Entity/Bosses/Skull/Skull.h

Committer:
el17sm
Date:
2019-05-06
Revision:
32:fe6359ef9916
Child:
33:4f3948dcd2f7

File content as of revision 32:fe6359ef9916:

//#ifndef SKULL_H
//#define SKULL_H
//
//class Skull : public Entity {
//    
//public:
//    // Constructor
//    Skull(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 skull_sprite[2][23][21] = //skull_sprite[mouthclose/mouthopen][Size_Y][Size_X]
//{
//    {
//        {0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0},
//        {0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0},
//        {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0},
//        {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0},
//        {0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0},
//        {0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0},
//        {0,1,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,1,0},
//        {1,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,1},
//        {1,0,0,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,0,0,1},
//        {1,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,1},
//        {1,0,0,0,1,1,1,0,0,0,1,0,0,0,1,1,1,0,0,0,1},
//        {1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1},
//        {1,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,1},
//        {0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0},
//        {0,1,0,0,1,1,1,0,0,0,1,0,0,0,1,1,1,0,0,1,0},
//        {0,0,1,0,1,1,1,0,1,0,1,0,1,0,1,1,1,0,1,0,0},
//        {0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0},
//        {0,0,1,0,0,1,1,0,1,0,1,0,1,0,1,1,0,0,1,0,0},
//        {0,0,0,1,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0},
//        {0,0,0,0,1,0,1,0,0,0,0,0,0,0,1,0,1,0,0,0,0},
//        {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0},
//        {0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0},
//        {0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0}
//    },
//    {
//        {0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0},
//        {0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0},
//        {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0},
//        {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0},
//        {0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0},
//        {0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0},
//        {0,1,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,1,0},
//        {1,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,1},
//        {1,0,0,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,0,0,1},
//        {1,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,1},
//        {1,0,0,0,1,1,1,0,0,0,1,0,0,0,1,1,1,0,0,0,1},
//        {1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1},
//        {1,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,1},
//        {0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0},
//        {0,1,0,0,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,1,0},
//        {0,0,1,0,1,1,1,0,1,0,1,0,1,0,1,1,1,0,1,0,0},
//        {0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0},
//        {0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0},
//        {0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0},
//        {0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0},
//        {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0},
//        {0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0},
//        {0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0}
//    }
//};
//
//const int skull_shadow_sprite[2][5][19] = 
//{
//    {
//        {0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0},
//        {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0},
//        {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
//        {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0},
//        {0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0}
//    },
//    {
//        {0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0},
//        {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0},
//        {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0},
//        {0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0},
//        {0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0}
//    }
//}
//
//#endif