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