Doxygen comments added
Dependencies: mbed Gamepad N5110
Diff: Pipes/Pipes.cpp
- Revision:
- 7:05f433e196d6
- Parent:
- 6:bc580b480ac8
- Child:
- 10:75de0f4da176
--- a/Pipes/Pipes.cpp Mon May 06 10:57:08 2019 +0000 +++ b/Pipes/Pipes.cpp Mon May 06 22:55:38 2019 +0000 @@ -17,4 +17,9 @@ //_height = rand() % (20 + 1 - 2) + 2; //_x=84; //} - //} \ No newline at end of file + //} +int Pipes::generate_height() { + int _random_height=rand() % (25 + 1 - 0) + 0; + return _random_height; + } + \ No newline at end of file