Doxygen comments added
Dependencies: mbed Gamepad N5110
Pipes/Pipes.cpp
- Committer:
- rafeh
- Date:
- 2019-04-23
- Revision:
- 3:5409b50b01b0
- Child:
- 4:e98b22e5d5e8
File content as of revision 3:5409b50b01b0:
#include "Pipes.h" void Pipes::init(int x, int height) { _x = x; _height = height; } void Pipes::draw(N5110 &lcd) { lcd.drawRect(_x,0,5,_height,FILL_BLACK); lcd.drawRect(_x,(_height+20),5,(84-(_height+20)),FILL_BLACK); } //if(_x<1) { //_height = rand() % (20 + 1 - 2) + 2; //_x=84; //} //}