Exemple #1
0
        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;
        }
Exemple #2
0
        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;
        }