A rouge-like rpg, heavily inspired on the binding of isaac. Running on a FRDM-K64F Mbed board. C++.

Dependencies:   mbed MotionSensor

Revision:
25:112cbcb0b4a7
Parent:
23:5a8f75e93508
--- a/N5110/N5110.cpp	Fri Apr 26 01:14:51 2019 +0000
+++ b/N5110/N5110.cpp	Fri Apr 26 02:38:05 2019 +0000
@@ -517,4 +517,14 @@
             }
         }
     }
+}
+
+int * N5110::readScreen()
+{
+    for (unsigned int i = 0; i < WIDTH; i++) {
+        for (unsigned int j = 0; j < HEIGHT; j++) {
+            screen_array[j][i] = getPixel(i, j);
+        }
+    }
+    return * screen_array;
 }
\ No newline at end of file