You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
359 B
25 lines
359 B
2 years ago
|
#ifndef GAME_H
|
||
|
#define GAME_H
|
||
|
|
||
|
#include <QGraphicsView>
|
||
|
#include <QWidget>
|
||
|
#include <QGraphicsScene>
|
||
|
#include "MyRect.h"
|
||
|
#include "score.h"
|
||
|
#include "health.h"
|
||
|
|
||
|
class Game : public QGraphicsView
|
||
|
{
|
||
|
public:
|
||
|
Game(QWidget *parent = nullptr);
|
||
|
QGraphicsScene* scene;
|
||
|
MyRect* player;
|
||
|
Score* score;
|
||
|
Health* health;
|
||
|
|
||
|
signals:
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // GAME_H
|