ELEC2645 (2018/19) / Mbed 2 deprecated el17lw

Dependencies:   mbed

Revision:
18:304700b5d8f8
Parent:
16:331be5c7ed80
Child:
21:20478f086bc2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Fire/Fire.h	Fri Apr 12 11:30:25 2019 +0000
@@ -0,0 +1,25 @@
+/** Fire Class
+* @brief Generates a fire ball that will end the game if the skateboarder touches it * @author Lewis Wooltorton
+* @date April 2019
+*/
+
+#ifndef FIRE_H
+#define FIRE_H
+
+#include "mbed.h"
+
+class Fire {
+ public:
+  Fire();
+  ~Fire();
+  
+  void init();
+  void update_fire();
+  int * get_fire_sprite();
+  int get_fire_x();
+
+ private:
+  int _x;
+  bool _fire_counter;
+};
+#endif
\ No newline at end of file