mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
215d348600
This change paves the way for adding options such as time controls and variants when creating a new game.
23 lines
409 B
C++
23 lines
409 B
C++
/*
|
|
* Copyright (c) 2024, the SerenityOS developers
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Widget.h>
|
|
|
|
namespace Chess {
|
|
|
|
class NewGameWidget : public GUI::Widget {
|
|
C_OBJECT_ABSTRACT(NewGameWidget)
|
|
public:
|
|
static ErrorOr<NonnullRefPtr<NewGameWidget>> try_create();
|
|
virtual ~NewGameWidget() override = default;
|
|
|
|
private:
|
|
NewGameWidget() = default;
|
|
};
|
|
|
|
}
|