A simple asteroids-like game utilizing various Mbed-compatible sensors

Dependencies:   mbed 4DGL-uLCD-SE PinDetect

Revision:
0:f2cc64948895
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/AbsAst.cpp	Fri Nov 30 04:49:11 2018 +0000
@@ -0,0 +1,10 @@
+#include "AbsAst.h"
+#define SCREEN_MAX 125
+#define SCREEN_MIN 1
+
+bool AbsAst::outB(){
+    if(this->xpos <= SCREEN_MIN || this->xpos >= SCREEN_MAX || this->ypos <= SCREEN_MIN || this->ypos >= SCREEN_MAX){
+        return true;
+    }
+    else return false;
+    }
\ No newline at end of file