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
Diff: Ppl/Ppl.h
- Revision:
- 5:b50ce6160013
- Parent:
- 4:750d3f9b54de
- Child:
- 6:6b083e22cb53
--- a/Ppl/Ppl.h Tue Apr 09 08:31:27 2019 +0000
+++ b/Ppl/Ppl.h Tue Apr 09 12:46:02 2019 +0000
@@ -1,6 +1,3 @@
-#ifndef PPL_H
-#define PPL_H
-
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
@@ -14,7 +11,7 @@
~Ppl();
void init(int x0, int y0);
void draw(N5110 &lcd);
- void check();
+ void update(int bb,int ba,int bx,int by);
/// accessors and mutators
Vector2D get_pos();
void set_pos(Vector2D p);
@@ -23,5 +20,4 @@
int _x;
int _y;
-};
-#endif
\ No newline at end of file
+};
\ No newline at end of file
