Snake game for a 5x5 LED matrix

Dependencies:   MCP23S17 mbed

Revision:
1:5fcb94bb03db
Parent:
0:dc906408980e
diff -r dc906408980e -r 5fcb94bb03db bodyPiece.h
--- a/bodyPiece.h	Wed Oct 09 16:23:20 2013 +0000
+++ b/bodyPiece.h	Thu Oct 17 04:32:58 2013 +0000
@@ -2,9 +2,10 @@
 #define __BODYPIECE_H__   //   #define this so the compiler knows it has been included
 
 
-class bodyPiece{
-    public:
-        char currRow, currCol;
-};
+typedef
+struct{
+        char currRow;
+        char currCol;
+}bodyPiece;
 
 #endif // __BODYPIECE_H__
\ No newline at end of file