Lab 6 for ECE 2036,a lame version of Galiga that needs to have the bullet fixed, but focuses on the concept of polymorphism

Dependencies:   mbed 4DGL-uLCD-SE PinDetect

Revision:
0:660af2d0e42d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/global.h	Wed Apr 27 05:31:20 2022 +0000
@@ -0,0 +1,30 @@
+#ifndef GLOBAL_H
+#define GLOBAL_H
+
+// Include all the hardware libraries
+#include "mbed.h"
+#include "uLCD_4DGL.h"
+#include "PinDetect.h"
+#include "MMA8452.h"
+#include <ctime>
+#include <cstdlib>
+
+// Declare the hardware interface objects
+/*
+This file holds all the global variables that are accessable from all the
+different files in this project. You see below most of it looks like hardware.
+That's because it is hardware! The uLCD object is how you interact with the LCD
+screen. The sd variable is how you interact with the sd card and so on for all
+the other variables.*/
+extern uLCD_4DGL uLCD;      // LCD Screen
+//extern SDFileSystem sd;     // SD Card
+extern PinDetect buttonA;   // Pushbuttons
+extern PinDetect buttonB;
+extern PinDetect buttonC;
+extern MMA8452   acc;
+
+//bullet launch
+extern bool loadedBullet;
+extern bool loadedRocket;
+
+#endif
\ No newline at end of file