Removed unused fields in GameMetaInfo and GameState

This commit is contained in:
RickyRister 2025-09-14 07:56:12 -07:00
parent 4de5274996
commit bf52598b67
4 changed files with 7 additions and 26 deletions

View file

@ -2,7 +2,7 @@
#include "abstract_game.h"
GameState::GameState(AbstractGame *_game,
GameState::GameState(QObject *parent,
int _secondsElapsed,
int _hostId,
bool _isLocalGame,
@ -11,9 +11,9 @@ GameState::GameState(AbstractGame *_game,
bool _resuming,
int _currentPhase,
bool _gameClosed)
: QObject(_game), game(_game), secondsElapsed(_secondsElapsed), hostId(_hostId), isLocalGame(_isLocalGame),
: QObject(parent), gameTimer(nullptr), secondsElapsed(_secondsElapsed), hostId(_hostId), isLocalGame(_isLocalGame),
clients(_clients), gameStateKnown(_gameStateKnown), resuming(_resuming), currentPhase(_currentPhase),
gameClosed(_gameClosed)
activePlayer(0), gameClosed(_gameClosed)
{
}