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-16
- Revision:
- 5:0a116644cce2
- Parent:
- 4:55d904040636
- Child:
- 7:1964f649676e
File content as of revision 5:0a116644cce2:
#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();
Vector2D get_pos();
void set_pos(Vector2D p);
private:
int boom_x;
int boom_y;
int boom_speed;
};
#endif