Pong game for ELEC1620 board.

Revision:
1:d63a63f0d397
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/Utils.h	Fri Mar 05 16:58:05 2021 +0000
@@ -0,0 +1,36 @@
+#ifndef UTILS_H
+#define UTILS_H
+
+struct Position2D {
+  int x;
+  int y;  
+};
+
+enum Direction {
+    CENTRE,  // 0
+    N,       // 1
+    NE,      // 2
+    E,       // 3
+    SE,      // 4
+    S,       // 5
+    SW,      // 6
+    W,       // 7
+    NW      // 8
+};
+
+struct UserInput {
+    Direction d;
+    float mag;
+};
+
+struct Vector2D {
+  float x;
+  float y;  
+};
+
+struct Polar {
+    float mag;
+    float angle;
+};
+
+#endif
\ No newline at end of file