Пример #1
0
        static void Main(string[] args)
        {
            Hunter VonRimmersmark = new Hunter("Erich", "Von Rimmersmark");

            Mummy tuts = new Mummy();

            VonRimmersmark.Ignite(tuts);

            Vampire Dracula  = new Vampire();
            Wight   MrUndead = new Wight();

            VonRimmersmark.SplashWater(MrUndead);
            VonRimmersmark.WieldSilver(Dracula);
        }
Пример #2
0
 public void SplashWater(Wight wight)
 {
     wight.Douse("Holy Water");  // Kills with holy water
 }