18 lines
215 B
C
18 lines
215 B
C
![]() |
class Brick{
|
||
|
|
||
|
const int width = 65;
|
||
|
const int height = 18;
|
||
|
|
||
|
int strength;
|
||
|
float *color;
|
||
|
|
||
|
public:
|
||
|
|
||
|
Brick(float *color);
|
||
|
|
||
|
void draw(int row, int col);
|
||
|
|
||
|
void checkCollision(Ball& ball);
|
||
|
|
||
|
|
||
|
};
|