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
BulletS/BulletS.h
- Committer:
- josh_ohara
- Date:
- 2020-04-03
- Revision:
- 14:e88bcf5c0887
- Parent:
- 12:be491ab6e742
- Child:
- 15:dde4ce4bf7fe
File content as of revision 14:e88bcf5c0887:
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Bullet.h"
#include <vector>
class BulletS
{
public:
BulletS();
~BulletS();
void init();
void render(N5110 &lcd);
void update(Gamepad &pad, N5110 &lcd, int shipx, int shipy);
vector<Bullet> get_vector();
void set_hit(int i, bool x);
private:
vector<Bullet> bullet_vector;
int X;
int Y;
int Shot;
};