Elements used in the Balls and Things games for the RETRO.
Dependents: RETRO_BallsAndPaddle RETRO_BallAndHoles
Wall.h
- Committer:
- maxint
- Date:
- 2015-03-02
- Revision:
- 8:19dd2a538cbe
- Parent:
- 5:065f19e08dcb
File content as of revision 8:19dd2a538cbe:
#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); Wall(LCD_ST7735* pDisp, uint16_t uClr); void draw(); bool fActive; void setRect(Rectangle rNew); Rectangle getRect(); private: uint16_t uColor; LCD_ST7735* pDisp; Rectangle rWall; };