James Heavey / Mbed 2 deprecated EL17JH

Dependencies:   mbed

Revision:
114:280903dd7e06
Parent:
111:4848c399fae0
Child:
136:04a2724f90cf
--- a/Paddle/Paddle.cpp	Wed May 08 04:00:00 2019 +0000
+++ b/Paddle/Paddle.cpp	Wed May 08 13:08:55 2019 +0000
@@ -77,6 +77,11 @@
     _lives--;
 }
 
+void Paddle::inc_life()  // increment the member variable _lives
+{
+    _lives++;
+}
+
 void Paddle::reset_lives()
 {
     _lives = 6;