ELEC2645 (2018/19) / Mbed 2 deprecated el17zl

Dependencies:   mbed

Fork of el17zl by Zhenwen Liao

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