stickfosh/cpp/src/view/noop.hpp
Karma Riuk 10257351cb created a no-op gui (to run the games without
showing them, can be useful)
2025-02-06 19:53:11 +01:00

13 lines
320 B
C++

#include "../model/board/board.hpp"
#include "view.hpp"
class NoOpView : public View {
public:
NoOpView() {};
void show() override {};
void update_board(const Board&, int8_t, std::vector<int8_t>) override {};
void notify_checkmate(Colour) override{};
void notify_stalemate(Colour) override{};
};