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: Map/Map.cpp
- Revision:
- 6:12e8433382b3
- Child:
- 7:0af4ced868f5
diff -r acd809cc824c -r 12e8433382b3 Map/Map.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Map/Map.cpp Thu Apr 16 16:25:53 2020 +0000
@@ -0,0 +1,20 @@
+#include "Map.h"
+
+Map::Map() {
+
+}
+
+Map::~Map() {
+
+}
+
+void Map::init() {
+ position_x_map_ = 0;
+ position_y_map_ = 48;
+}
+
+
+void Map::draw_triangle(N5110 &lcd){
+ lcd.drawLine(0,48,5,43,1);
+ lcd.drawLine(5,43,10,48,1);
+}
\ No newline at end of file