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); } }
internal void WeaponEventCheat() { ChooseWeaponWindow window = new ChooseWeaponWindow(Player, WeaponFactory.CreateRandom()); window.Show(); }