Exemplo n.º 1
0
        public void Run()
        {
            FigureVirtual figure    = new FigureVirtual();
            Square        square    = new Square();
            Rectangle     rectangle = new Rectangle();

            DrawAll(figure, square, rectangle);
            Console.ReadKey();
        }
Exemplo n.º 2
0
        public void Run()
        {
            FigureVirtual figureVirtual = new FigureVirtual();
            Square        square        = new Square();
            Rectangle     rectangle     = new Rectangle();

            figureVirtual.Draw();
            square.Draw();
            rectangle.Draw();
        }