test avoid bulled game

Dependencies:   C12832_lcd LCD_fonts mbed mbed-rtos

KakuGraphicBuilder.cpp

Committer:
kaku_jyoko
Date:
2016-12-12
Revision:
29:7784b098ef1d
Parent:
28:efe19c092c2c

File content as of revision 29:7784b098ef1d:

#include "kaku_integrate.h"
#include "models.h"
#include "graphics.h"

char map = {0x00};


KakuGraphicBuilder::KakuGraphicBuilder()
{
    Bitmap b = {
        LCD_X,
        LCD_Y,
        LCD_X / 8,
        map,
    };
    bitmap_all = b;
    reset_white_board();
}

Bitmap KakuGraphicBuilder::integrateBitmap(point pe, point bu, point st[])
{
    Bitmap b;
    return b;
    
}

void KakuGraphicBuilder::convolution(point p, int width, int height)
{

}

void KakuGraphicBuilder::reset_white_board()
{
    for(int i = 0; i < LCD_Y; i++){
        for (int j = 0; j < LCD_X; j++){
            white_board[i][j] = 0;
        }
    }
}

void intToBitmap(){
     for(int i = 0; i < LCD_Y ; i++){
        for (int j = 1; j <= LCD_X / 8; j++){

        }
    }
}