dotfiles/.config/Code/User/History/1114135d/bLfq.h

24 lines
352 B
C
Raw Normal View History

2024-06-16 18:53:25 +05:00
#include "Ball.h"
#include "Paddle.h"
#include "Brick.h"
class GameLevel{
int score;
int lives;
protected:
Ball ball;
Paddle paddle;
Brick ***bricks;
public:
GameLevel(Paddle& paddle, Ball& ball);
void draw();
void checkBrickCollision(Ball& ball);
Ball& getBall();
Paddle& getPaddle();
~GameLevel();
};