Educational Game Platform
|
Go to the documentation of this file.
4 #include "gamescene_1_player.h"
6 #include "gamescene_1_ladderSnake.h"
7 #include <QGraphicsScene>
13 #include <QtConcurrent/QtConcurrent>
78 void checkSnakeLadder();
83 void loadGame(
int posp1,
int posp2,
bool turn);
86 #endif // GAMESCENE_1_H
bool * sidePick
Bool denoting left/right dice pick.
Definition: gamescene_1.h:58
void selectLeft()
gameScene_1::selectLeft
Definition: gamescene_1.cpp:498
int * snakePos
Array used to store Snake start/end positions.
Definition: gamescene_1.h:53
Definition: gamescene_1_dice.h:18
bool * firstRoll
Bool denoting first roll status.
Definition: gamescene_1.h:56
void selectRight()
gameScene_1::selectRight
Definition: gamescene_1.cpp:545
void movePlayerOpp()
gameScene_1::movePlayerOpp
Definition: gamescene_1.cpp:314
bool * playerTurn
Bool denoting player turn.
Definition: gamescene_1.h:57
gamescene_1_ladderSnake * ladderSnake
Ladder&Snake entity.
Definition: gamescene_1.h:48
void movePlayer()
gameScene_1::movePlayer
Definition: gamescene_1.cpp:269
QPushButton * pickdice2
Button associated to pick a dice.
Definition: gamescene_1.h:35
bool * winState
Bool denoting win state.
Definition: gamescene_1.h:59
The gameScene_1_dice class.
Definition: gamescene_1_player.h:19
gameScene_1_player * player2
Player 2 entity.
Definition: gamescene_1.h:41
QGraphicsTextItem * text
Text element in GUI.
Definition: gamescene_1.h:30
bool * CPU
Bool denoting CPU adversary / human adversary.
Definition: gamescene_1.h:63
QGraphicsTextItem * text2
Text element in GUI.
Definition: gamescene_1.h:31
gameScene_1_player * player1
Player 1 entity.
Definition: gamescene_1.h:40
void diceRoll()
gameScene_1::diceRoll
Definition: gamescene_1.cpp:359
gameScene_1_dice * dice1
Dice 1 entity.
Definition: gamescene_1.h:44
void backToMenu()
gameScene_1::backToMenu
Definition: gamescene_1.cpp:152
Definition: gamescene_1.h:24
QGraphicsRectItem * square
Boxes used to denote ladder/snakes.
Definition: gamescene_1.h:49
void generateBoard()
gameScene_1::generateBoard
Definition: gamescene_1.cpp:591
void loadGame(int posp1, int posp2, bool turn)
gameScene_1::loadGame
Definition: gamescene_1.cpp:118
QPushButton * backtomenu
Button associated to going back to menu.
Definition: gamescene_1.h:36
int * ladderPos
Array used to store Ladder start/end positions.
Definition: gamescene_1.h:52
QPushButton * pickdice1
Button associated to pick a dice.
Definition: gamescene_1.h:34
gameScene_1_dice * dice2
Dice 2 entity.
Definition: gamescene_1.h:45
QGraphicsTextItem * text3
Text element in GUI.
Definition: gamescene_1.h:32
QPushButton * rolldice
Button associated to rolling the dices.
Definition: gamescene_1.h:33
void winCondition()
gameScene_1::winCondition
Definition: gamescene_1.cpp:466
Definition: gamescene_1_ladderSnake.h:16