Elements used in the Balls and Things games for the RETRO.
Dependents: RETRO_BallsAndPaddle RETRO_BallAndHoles
Diff: Wall.cpp
- Revision:
- 5:065f19e08dcb
- Parent:
- 4:f421e34313d3
--- a/Wall.cpp Sat Feb 28 11:40:24 2015 +0000 +++ b/Wall.cpp Sat Feb 28 16:32:03 2015 +0000 @@ -11,6 +11,14 @@ this->fActive=false; } +Wall::Wall(LCD_ST7735* pDisp, uint16_t uClr) : rWall(0,0,0,0) +{ // constructor + this->pDisp=pDisp; + uColor=uClr; + this->fActive=false; +} + + void Wall::setRect(Rectangle rNew) { rWall=rNew;