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

29 lines
435 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 **balls;
Paddle paddle;
Brick ***bricks;
Food ***food;
public:
GameLevel();
void draw();
void checkBrickCollision();
void moveFood();
void checkFoodCollision();
Ball& getBall();
Ball*& getBall1();
Ball*& getBall2();
Paddle& getPaddle();
~GameLevel();
};