private void rectDrill_MouseDown(object sender, MouseButtonEventArgs e) { rectDrill.Fill = new SolidColorBrush(System.Windows.Media.Colors.Chocolate); rectFuelTank.Fill = new SolidColorBrush(System.Windows.Media.Colors.Transparent); rectCargoBay.Fill = new SolidColorBrush(System.Windows.Media.Colors.Transparent); selectedItem = Store.items.Drill; }
private void rectFuelTank_MouseDown(object sender, MouseButtonEventArgs e) { rectFuelTank.Fill = new SolidColorBrush(System.Windows.Media.Colors.Chocolate); rectCargoBay.Fill = new SolidColorBrush(System.Windows.Media.Colors.Transparent); rectDrill.Fill = new SolidColorBrush(System.Windows.Media.Colors.Transparent); selectedItem = Store.items.FuelTank; }