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

33 lines
No EOL
503 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 checkBrickCollision();
void moveFood();
void checkFoodCollision();
Ball**& getBalls();
Paddle& getPaddle();
virtual Paddle* getPaddle2();
virtual ~GameLevel();
};
#endif