Exemplo n.º 1
0
        static void Main(string[] args)
        {
            //实例一
            Target ad = new Adapter();

            ad.Request();

            //实例二
            Player zhang = new AssimilationChinesePlayer("张幕阳");

            zhang.Attratk();
            zhang.Defend();
            Console.ReadKey();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            //实例一
            Target ad = new Adapter();
            ad.Request();

            //实例二
            Player zhang = new AssimilationChinesePlayer("张幕阳");
            zhang.Attratk();
            zhang.Defend();
            Console.ReadKey();
        }