ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18rs

Dependencies:   mbed

Revision:
2:55092965eadd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Tetromino.cpp	Sat May 23 13:59:06 2020 +0000
@@ -0,0 +1,40 @@
+#include "Tetromino.h"
+
+Tetromino::Tetromino()
+
+
+
+const int ISprite[4][4] = {
+  {0,0,1,0,},
+  {0,0,1,0,},
+  {0,0,1,0,},
+  {0,0,1,0,},
+};
+
+const int LSprite[4][4] = {
+  {0,1,0,0,},
+  {0,1,0,0,},
+  {0,1,1,0,},
+  {0,0,0,0,},
+};
+
+const int ZSprite[4][4] = {
+  {0,1,0,0,},
+  {0,1,1,0,},
+  {0,0,1,0,},
+  {0,0,0,0,},
+};
+
+const int OSprite[4][4] = {
+  {0,0,0,0,},
+  {0,1,1,0,},
+  {0,1,1,0,},
+  {0,0,0,0,},
+};
+
+const int TSprite[4][4] = {
+  {0,1,0,0,},
+  {0,1,1,0,},
+  {0,1,0,0,},
+  {0,0,0,0,},
+};