-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGame.h
42 lines (35 loc) · 820 Bytes
/
Game.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef GAME_H
#define GAME_H
#include "SquareBoard.h"
#include<QGraphicsScene>
#include<QGraphicsView>
#include "SquaresList.h"
#include "Score.h"
#include "Moves.h"
#include <QString>
class Game: public QGraphicsView{
Q_OBJECT
public:
//konstruktori
Game(QWidget *parent = NULL);
//javni atributi, lakse za getovanje i setovanje
SquareBoard *squareBoard;
QGraphicsScene *scene;
//QString whosTurn;
//javne metode
void displayMainMenu();
Score *score;
Moves *moves;
void getValueOfArea(QString string);
QWidget * w;
void createWidget();
bool isNotGameOver;
public slots:
void start();
void back();
void displayHighscores();
void insertHighscore(QString name, QString score);
void gameOver();
//void swap();
};
#endif // GAME_H