dotfiles/.config/Code/User/History/1114135d/irQY.h
RafayAhmad7548 ab03d5f10c test
2024-06-16 18:53:25 +05:00

35 lines
No EOL
553 B
C++

#ifndef GAMELEVEL_H
#define GAMELEVEL_H
#include "Ball.h"
#include "Paddle.h"
#include "Brick.h"
class GameLevel{
int score;
int lives;
protected:
Ball **balls;
Paddle paddle;
Paddle *paddle2;
Brick ***bricks;
Food ***food;
public:
GameLevel();
void draw();
void checkBalls(int& lives);
void checkBrickCollision();
void moveFood();
void checkFoodCollision();
int& getLives();
Ball**& getBalls();
Paddle& getPaddle();
virtual Paddle* getPaddle2();
~GameLevel();
};
#endif