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/Player/Bullets/Bullets.h
- Committer:
- el17sm
- Date:
- 2019-05-09
- Revision:
- 53:93338b52489d
- Parent:
- 34:1d5b4da3935e
- Child:
- 58:c8d90bb7404a
File content as of revision 53:93338b52489d:
#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, char * map, bool * doorways);
virtual void draw(N5110 &lcd);
virtual void take_damage(int damage);
bool out_of_bounds_check(char * map, bool * doorways);
};
const char bullets_sprite[3][3] = {{1,1,1},
{1,1,1},
{1,1,1}
};
#endif