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

21 lines
269 B
C
Raw Normal View History

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