dotfiles/.config/Code/User/History/-322e7254/t0fk.h

25 lines
292 B
C
Raw Normal View History

2024-06-16 18:53:25 +05:00
#include "Ball.h"
#include "Food.h"
class Brick{
const int width = 70;
const int height = 20;
int x;
int y;
int strength;
float *color;
Food *food;
public:
Brick();
void draw(int row, int col);
bool checkCollision(Ball& ball);
~Brick();
};