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
Diff: Spikes.h
- Revision:
- 9:2836fc3d9ede
- Child:
- 10:6c574b8524df
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Spikes.h Mon May 18 12:41:06 2020 +0000
@@ -0,0 +1,37 @@
+#ifndef SPIKES_H
+#define SPIKES_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Aim.h"
+#include "Heston.h"
+
+/** spikes Class
+@date april 2020
+*/
+
+class Spikes
+{
+
+public:
+ Spikes();
+ ~Spikes();
+ void init();
+ void draw(N5110 &lcd);
+ void update();
+ void position(int x);
+ Vector2D get_pos();
+
+private:
+
+ int _height;
+ int _width;
+ int _x;
+ int _y;
+ int _speed;
+
+};
+
+
+#endif
\ No newline at end of file