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: Map/map.h
- Revision:
- 10:b939edd9b87c
- Child:
- 11:0e6a221ad8a9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Map/map.h Fri May 10 12:00:30 2019 +0000
@@ -0,0 +1,27 @@
+
+#ifndef MAP_H
+#define MAP_H
+
+#include <vector>
+#include "mbed.h"
+
+
+class Map {
+
+ public:
+ void init();
+
+ // accessors
+ float get_player_curvature();
+ float get_timed_curvature();
+
+ // mutators
+ void set_player_curvature(float _player_curvature);
+ void set_timed_curvature(float _timed_curvature);
+
+ private:
+ float _player_curvature;
+ float _timed_curvature;
+};
+
+#endif
\ No newline at end of file