mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
* Move tabs to interface/widgets. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
11 lines
448 B
C++
11 lines
448 B
C++
#include "replay.h"
|
|
|
|
#include "../interface/widgets/tabs/tab_game.h"
|
|
|
|
Replay::Replay(TabGame *_tab, GameReplay *_replay) : AbstractGame(_tab)
|
|
{
|
|
gameState = new GameState(this, 0, -1, tab->getTabSupervisor()->getIsLocalGame(), {}, false, false, -1, false);
|
|
connect(gameMetaInfo, &GameMetaInfo::startedChanged, gameState, &GameState::onStartedChanged);
|
|
playerManager = new PlayerManager(this, -1, false, true);
|
|
loadReplay(_replay);
|
|
}
|