Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MotionSensor
Entity/Bullets/Bullets.h
- Committer:
- el17sm
- Date:
- 2019-04-24
- Revision:
- 13:d04a6caba40d
- Parent:
- 12:a1c1991835ca
- Child:
- 14:3361879490b2
File content as of revision 13:d04a6caba40d:
#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();
private:
// Member Variable
int direction;
};
const int bullets_sprite[2][2] = {{1,1},
{1,1}};
#endif