Kostadin Chakarov / Mbed 2 deprecated el17kec

Dependencies:   mbed

Revision:
13:3585d2ea4ff4
Parent:
12:b3ec47d606a5
diff -r b3ec47d606a5 -r 3585d2ea4ff4 Paddle/Paddle.cpp
--- a/Paddle/Paddle.cpp	Thu May 09 11:41:58 2019 +0000
+++ b/Paddle/Paddle.cpp	Thu May 09 11:55:47 2019 +0000
@@ -1,17 +1,14 @@
 #include "Paddle.h"
 
-/** Constructor */
 Paddle::Paddle()
 {
     reset(); // initial parameters of paddle 
 }
 
-/** Destructor - nothing happening here */
 Paddle::~Paddle()
 {
 }
 
-/** Adds the joystick control for the paddle */
 void Paddle::controlPaddle(Gamepad &pad)
 {
     // Sets the joystick as the paddle controller 
@@ -19,7 +16,6 @@
 
 }
 
-/** Determines the movement physics of the paddle */
 void Paddle::move()
 {
     // Moving right 
@@ -40,7 +36,6 @@
     }
 }
 
-/** Resets paddle's initial parameters when game is over / lost */
 void Paddle::reset()
 {
     pos.x = WIDTH/2;        // position of paddle on x-axis