Ejemplo n.º 1
0
        private static void Main(string[] args)
        {
            Player b = new Forwards("巴蒂尔");
            b.Attack();

            Player m = new Guards("麦迪");
            m.Attack();

            Player y = new Translator("姚明");
            y.Attack();
            y.Defense();

            Console.ReadLine();
        }
Ejemplo n.º 2
0
        private static void Main(string[] args)
        {
            Player b = new Forwards("巴蒂尔");

            b.Attack();

            Player m = new Guards("麦迪");

            m.Attack();



            Player y = new Translator("姚明");

            y.Attack();
            y.Defense();

            Console.ReadLine();
        }