logic
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.Windows;
|
||||
|
||||
namespace CheckersSpielBot
|
||||
{
|
||||
public partial class GameModeDialog : Window
|
||||
{
|
||||
public bool HumanGoesFirst { get; private set; } = true;
|
||||
|
||||
public GameModeDialog()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void HumanFirst_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
HumanGoesFirst = true;
|
||||
Close();
|
||||
}
|
||||
|
||||
private void BotFirst_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
HumanGoesFirst = false;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user