Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.

Dependencies:   mbed

Revision:
131:2084e4a8338f
Parent:
130:4ce67451d0c1
Child:
132:3021192deea0
--- a/Spaceship/Spaceship.cpp	Mon May 06 13:47:06 2019 +0000
+++ b/Spaceship/Spaceship.cpp	Mon May 06 14:35:13 2019 +0000
@@ -62,3 +62,11 @@
     _x_spaceship = x;
     _y_spaceship = y;
 }
+
+void  Spaceship::add_score()
+{
+    _score++;
+}
+int  Spaceship::get_score()
+{
+    return _score;
\ No newline at end of file