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

28 lines
437 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;
Ball *ball1, *ball2;
Paddle paddle;
Brick ***bricks;
Food ***food;
public:
GameLevel(Paddle& paddle, Ball& ball);
void draw();
void checkBrickCollision();
void moveFood();
void checkFoodCollision();
Ball& getBall();
Paddle& getPaddle();
~GameLevel();
};