ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18rg

Dependencies:   mbed Gamepad2 ELEC2645_Project_el18rg

Dependents:   ELEC2645_Project_el18rg

Revision:
2:b936aa854de2
Child:
3:2f4a7787beb3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Collision/Collision.h	Wed May 27 01:35:20 2020 +0000
@@ -0,0 +1,26 @@
+#ifndef COLLISION_H
+#define COLLISION_H
+ 
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+ 
+class Collision {
+ 
+public:
+  
+  /** Constructor */
+  Collision();
+  
+  /** Destructor */
+  ~Collision();
+ 
+  /** Checks if the pixel below the arrow has hit another activated pixel
+  * @return Return true if a activatd pixel is detected, false if not
+  */
+  bool bottom(N5110 &lcd, int x, int y);
+ 
+};
+ 
+#endif
+ 
\ No newline at end of file