Arturs Kozlovskis / Mbed 2 deprecated ELEC2645_Project_el18ak

Dependencies:   mbed

Revision:
13:1dbef50789ed
Parent:
12:f7dfd44569b6
Child:
14:739115711bf8
--- a/My_game_clases/Functions.h	Thu Apr 23 09:10:11 2020 +0000
+++ b/My_game_clases/Functions.h	Wed Apr 29 12:48:40 2020 +0000
@@ -43,9 +43,13 @@
     bool cannon_smash(N5110 &lcd,Objects &objects);// checks if the cannon has crashed with anything
     int random(Gamepad &pad);//generates a random number
     void ball_creater(N5110 &lcd, Objects &objects, Gamepad &pad);//controls ball making and their movement equations
+    int get_score();//gets the players score
+    
+    vector <int> created_balls;
 
 private:
     int _initial_radiuss;//holds the intial ball radiuss which is 2
     int _cannon_y_pos; // holds the cannons y position
+    int _score;//holds the score
 };
 #endif
\ No newline at end of file