mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
ChessEngine: Reset the engine state on receiving a ucinewgame command
This commit is contained in:
parent
18735960de
commit
536f6b8b34
Notes:
sideshowbarker
2024-07-17 20:58:35 +09:00
Author: https://github.com/tcl3
Commit: 536f6b8b34
Pull-request: https://github.com/SerenityOS/serenity/pull/18523
2 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,7 @@ public:
|
|||
virtual void handle_position(Chess::UCI::PositionCommand const&) override;
|
||||
virtual void handle_go(Chess::UCI::GoCommand const&) override;
|
||||
virtual void handle_quit() override;
|
||||
virtual void handle_ucinewgame() override;
|
||||
virtual void handle_unexpected_eof() override;
|
||||
|
||||
Function<void(int)> on_quit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue