Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Entity/Bullets/Bullets.h

Committer:
el17sm
Date:
2019-04-24
Revision:
14:3361879490b2
Parent:
13:d04a6caba40d
Child:
21:be18f33da757

File content as of revision 14:3361879490b2:

#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);
    virtual int * get_frame();
    bool out_of_bounds_check();
    
    private:
    // Member Variable
    int direction;
};

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

#endif