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
Fork of el17zl by
Ppl/Ppl.h
- Committer:
- franklzw
- Date:
- 2019-04-09
- Revision:
- 4:750d3f9b54de
- Child:
- 5:b50ce6160013
File content as of revision 4:750d3f9b54de:
#ifndef PPL_H
#define PPL_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
class Ppl
{
public:
Ppl();
~Ppl();
void init(int x0, int y0);
void draw(N5110 &lcd);
void check();
/// accessors and mutators
Vector2D get_pos();
void set_pos(Vector2D p);
private:
int _x;
int _y;
};
#endif
