private void AIModeOnClick(object sender, RoutedEventArgs e) { SetBackgroundColor(AIModeOff, WPFColor.Background); SetBackgroundColor(AIModeOn, WPFColor.BackgroundDark); GameMode.AIModeOn(); }