示例#1
0
        private static void Main(string[] args)
        {
            Car    car = new Auldey();
            Remote re  = new AuldeyRemote(car);

            re.Up();
            re.Down();
            re.Right();
            Console.ReadLine();
        }
示例#2
0
 private static void Main(string[] args)
 {
     Car car = new Auldey();
     Remote re = new AuldeyRemote(car);
     re.Up();
     re.Down();
     re.Right();
     Console.ReadLine();
 }