ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jkeo

Dependencies:   mbed

Revision:
18:828e9f6ddfdb
Parent:
17:8b1d16d56ad2
Child:
20:0b6f1cfc5be6
--- a/Alien/Alien.h	Fri May 01 14:24:20 2020 +0000
+++ b/Alien/Alien.h	Fri May 01 14:44:08 2020 +0000
@@ -1,6 +1,7 @@
 #include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
+#include "AlienBulletS.h"
 
 class Alien
 {
@@ -8,9 +9,10 @@
     void init(int x, int y, int size);
     void render(N5110 &lcd);
     Vector2D get_position();
-    void update(int step_x, int remainder_x, Gamepad &pad);
+    void update(int step_x, int remainder_x, Gamepad &pad, int counter);
     void set_life(bool x);
     bool get_life();
+    void flag_set(int counter);
     
 private:
     int X;
@@ -21,4 +23,5 @@
     int StartX;
     int StartY;
     bool Shoot;
+    AlienBulletS alien_bullet_vector;
 };
\ No newline at end of file