test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: kaku_integrate.h
- Revision:
- 30:f26dcbaa946d
- Parent:
- 28:efe19c092c2c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kaku_integrate.h Mon Dec 12 11:17:22 2016 +0000 @@ -0,0 +1,29 @@ +#ifndef kaku_integrate_H +#define kaku_integrate_H +#include "C12832_lcd.h" +#include "models.h" + + +class KakuGraphicBuilder +{ +private: + point pe; + point bu; + point st[]; + char map[(LCD_X / 8) * LCD_Y]; + Bitmap bitmap_all; + + void convolution(point p, int width, int heigth); + + void intToBitmap(); + + int white_board[LCD_Y][LCD_X]; + + void reset_white_board(); + +public: + Bitmap integrateBitmap(point pe, point bu, point st[]); + KakuGraphicBuilder(); +}; + +#endif \ No newline at end of file