#include <game_state.h>
◆ GameState()
| GameState::GameState |
( |
AbstractGame * | parent, |
|
|
int | secondsElapsed, |
|
|
int | hostId, |
|
|
bool | isLocalGame, |
|
|
QList< AbstractClient * > | clients, |
|
|
bool | gameStateKnown, |
|
|
bool | resuming, |
|
|
int | currentPhase, |
|
|
bool | gameClosed ) |
|
explicit |
◆ activePhaseChanged
| void GameState::activePhaseChanged |
( |
int | activePhase | ) |
|
|
signal |
◆ activePlayerChanged
| void GameState::activePlayerChanged |
( |
int | playerId | ) |
|
|
signal |
◆ gameStarted
| void GameState::gameStarted |
( |
bool | resuming | ) |
|
|
signal |
◆ gameStopped
| void GameState::gameStopped |
( |
| ) |
|
|
signal |
◆ getActivePlayer()
| int GameState::getActivePlayer |
( |
| ) |
const |
|
inline |
◆ getClients()
◆ getCurrentPhase()
| int GameState::getCurrentPhase |
( |
| ) |
const |
|
inline |
◆ getHostId()
| int GameState::getHostId |
( |
| ) |
const |
|
inline |
◆ getIsLocalGame()
| bool GameState::getIsLocalGame |
( |
| ) |
const |
|
inline |
◆ incrementGameTime
| void GameState::incrementGameTime |
( |
| ) |
|
|
slot |
◆ isGameClosed()
| bool GameState::isGameClosed |
( |
| ) |
const |
|
inline |
◆ isGameStateKnown()
| bool GameState::isGameStateKnown |
( |
| ) |
const |
|
inline |
◆ isResuming()
| bool GameState::isResuming |
( |
| ) |
const |
|
inline |
◆ onStartedChanged()
| void GameState::onStartedChanged |
( |
bool | _started | ) |
|
|
inline |
◆ setActivePlayer()
| void GameState::setActivePlayer |
( |
int | activePlayerId | ) |
|
|
inline |
◆ setCurrentPhase()
| void GameState::setCurrentPhase |
( |
int | phase | ) |
|
|
inline |
◆ setGameClosed()
| void GameState::setGameClosed |
( |
bool | closed | ) |
|
|
inline |
◆ setGameStateKnown()
| void GameState::setGameStateKnown |
( |
bool | known | ) |
|
|
inline |
◆ setGameTime
| void GameState::setGameTime |
( |
int | _secondsElapsed | ) |
|
|
slot |
◆ setHostId()
| void GameState::setHostId |
( |
int | _hostId | ) |
|
|
inline |
◆ setResuming()
| void GameState::setResuming |
( |
bool | _resuming | ) |
|
|
inline |
◆ updateTimeElapsedLabel
| void GameState::updateTimeElapsedLabel |
( |
QString | newTime | ) |
|
|
signal |
◆ activePlayer
| int GameState::activePlayer |
|
private |
◆ clients
◆ currentPhase
| int GameState::currentPhase |
|
private |
◆ gameClosed
| bool GameState::gameClosed |
|
private |
◆ gameStateKnown
| bool GameState::gameStateKnown |
|
private |
◆ gameTimer
| QTimer* GameState::gameTimer |
|
private |
◆ hostId
◆ isLocalGame
| const bool GameState::isLocalGame |
|
private |
◆ resuming
◆ secondsElapsed
| int GameState::secondsElapsed |
|
private |
The documentation for this class was generated from the following files: