Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Entity/Bullets/Bullets.h

Committer:
el17sm
Date:
2019-05-04
Revision:
29:6b8411bb040a
Parent:
27:a1b41626f57c

File content as of revision 29:6b8411bb040a:

#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, int * map, bool * doorways);
    virtual int * get_frame();
    virtual void take_damage(int);
    bool out_of_bounds_check(int * map, bool * doorways);

private:
    // Member Variable
    int direction;
};

const int bullets_sprite[3][3] = {{1,1,1},
    {1,1,1},
    {1,1,1}
};

#endif