diff options
author | pommicket <pommicket@gmail.com> | 2025-08-12 13:26:06 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-08-12 13:26:06 -0400 |
commit | a1a21037c465a1a01b2ca13b70f89becfc93546e (patch) | |
tree | 2ab98ea347e8e6095a109b1dfe43670e39ea7bba /quacker/macondo.h | |
parent | c197d84de85d4bc1f6ab9f9d3defebdd86820748 (diff) |
add move box
Diffstat (limited to 'quacker/macondo.h')
-rw-r--r-- | quacker/macondo.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/quacker/macondo.h b/quacker/macondo.h index 82505d5..18441b5 100644 --- a/quacker/macondo.h +++ b/quacker/macondo.h @@ -7,18 +7,21 @@ class QPushButton; class QTimer; namespace Quackle { class Game; - class Move; + class MoveList; } class MacondoBackend; - +struct MacondoInitOptions; +class MoveBox; class Macondo : public QWidget { Q_OBJECT public: Macondo(Quackle::Game *); + ~Macondo(); + void setGame(Quackle::Game *); public slots: void simulate(); private slots: - void gotSimMoves(const std::vector<Quackle::Move> &moves); + void gotSimMoves(const Quackle::MoveList &moves); private: enum class Command { None, @@ -26,9 +29,12 @@ private: Solve, }; QPushButton *m_simulateButton; + Quackle::Game *m_game; MacondoBackend *m_backend; int m_viewingPlyNumber = 0; Command m_command = Command::None; + MoveBox *m_moveBox; + std::unique_ptr<MacondoInitOptions> initOptions; }; #endif |