mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 01:23:24 -08:00
* [Refactor] Move game logic into libcockatrice_game * [Refactor] Include card_state.h in player_actions.h * [Game] Inject settings providers into libcockatrice_game, drop Widgets * [Game] Follow base rename to createCardRequested after rebase * [Game] Drop unused CardItem forward declaration * [Game] Fix includes after moving game logic into libcockatrice_game --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
32 lines
675 B
C++
32 lines
675 B
C++
/**
|
|
* @file replay.h
|
|
* @ingroup GameLogic
|
|
* @ingroup Replay
|
|
*/
|
|
//! \todo Document this file.
|
|
|
|
#ifndef COCKATRICE_REPLAY_H
|
|
#define COCKATRICE_REPLAY_H
|
|
|
|
#include "abstract_game.h"
|
|
|
|
#include <qtmetamacros.h>
|
|
|
|
class GameReplay;
|
|
class QObject;
|
|
class ICardPreferenceProvider;
|
|
class IInterfaceSettingsProvider;
|
|
|
|
class Replay : public AbstractGame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Replay(QObject *_parent,
|
|
const GameReplay *_replay,
|
|
bool isLocalGame,
|
|
IInterfaceSettingsProvider *interfaceSettings = nullptr,
|
|
ICardPreferenceProvider *cardPreferences = nullptr);
|
|
};
|
|
|
|
#endif // COCKATRICE_REPLAY_H
|