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
boom/boom.h
- Committer:
- RickYu
- Date:
- 2018-04-15
- Revision:
- 3:1a134243e2f0
- Child:
- 4:55d904040636
File content as of revision 3:1a134243e2f0:
#ifndef BOOM_H
#define BOOM_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
class boom{
public:
boom();
~boom();
void init(int x,int y);
void draw(N5110 &lcd);
void update(Direction d,float mag);
Vector2D get_pos();
private:
int boom_x;
int boom_y;
int boom_speed;
};
#endif