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.
Diff: player/player.h
- Revision:
- 0:e70cf0da7c72
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/player/player.h Thu May 04 11:46:46 2017 +0000
@@ -0,0 +1,27 @@
+#ifndef PLAYER_H
+#define PLAYER_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "background.h"
+
+class player
+{
+public:
+
+ player();
+ ~player();
+ void init(int x,int height,int width);
+ void read_input(background pad);
+ void update(Direction d,float mag);
+ void draw(N5110 &lcd);
+ Vector2D get_pos();
+
+private:
+
+
+ int _x;
+ int _y;
+
+};
+#endif
\ No newline at end of file