dotfiles/.config/Code/User/History/-322e7254/UJlK.h
RafayAhmad7548 ab03d5f10c test
2024-06-16 18:53:25 +05:00

27 lines
No EOL
331 B
C++

#include "Ball.h"
#include "Food.h"
class Brick{
const int width = 70;
const int height = 20;
int x;
int y;
int strength;
float *color;
public:
Brick();
void draw(int row, int col);
bool checkCollision(Ball& ball);
int getX();
int getY();
float* getColor();
~Brick();
};