private void AddTreasure()
        {
            if (Weapon.GetType() != typeof (NullWeapon))
            {
                var w = new ChooseWeaponWindow(Player, Weapon);
                w.Show();
            }

            if (Drink.GetType() != typeof (NullDrink))
            {
                Player.AddDrink(Drink);
            }

            if (Food.GetType() != typeof (NullFood))
            {
                Player.AddFood(Food);
            }
        }
Beispiel #2
0
 internal void WeaponEventCheat()
 {
     ChooseWeaponWindow window = new ChooseWeaponWindow(Player, WeaponFactory.CreateRandom());
     window.Show();
 }