ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

Revision:
18:24ce897024d0
Parent:
15:afeefa3ceb61
Child:
24:555cb65502a3
diff -r cc448ab7266f -r 24ce897024d0 Tetromino/Tetromino.h
--- a/Tetromino/Tetromino.h	Wed Apr 03 13:37:56 2019 +0000
+++ b/Tetromino/Tetromino.h	Wed Apr 03 14:31:49 2019 +0000
@@ -1,3 +1,6 @@
+#ifndef TETROMINO_H
+#define TETROMINO_H
+
 #include "Block.h"
 
 class Tetromino {
@@ -22,4 +25,5 @@
     Tetromino translated(int dx, int dy);
     static Tetromino getTetrominoFromString(const char * str);
     Tetromino(Block a, Block b, Block c, Block d);
-};
\ No newline at end of file
+};
+#endif
\ No newline at end of file