Elements used in the Balls and Things games for the RETRO.
Dependents: RETRO_BallsAndPaddle RETRO_BallAndHoles
Diff: Wall.h
- Revision:
- 4:f421e34313d3
- Child:
- 5:065f19e08dcb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Wall.h Sat Feb 28 11:40:24 2015 +0000 @@ -0,0 +1,24 @@ +#pragma once +#include "mbed.h" + +#include "Color565.h" +#include "font_OEM.h" +#include "LCD_ST7735.h" + +#include "Shapes.h" + +class Wall +{ + public: + Wall(); + Wall(LCD_ST7735* pDisp); + void draw(); + bool fActive; + void setRect(Rectangle rNew); + Rectangle getRect(); + + private: + uint16_t uColor; + LCD_ST7735* pDisp; + Rectangle rWall; +}; \ No newline at end of file