Exemplo n.º 1
0
        internal void DecorateWithShadow(int ind)
        {
            IFigure f = figures.Get(ind);

            ACommand command = new ShadowDecoratorCommand(figures, f);

            command.Execute();

            HandleAddCommand(command);
        }
Exemplo n.º 2
0
        internal void DecorateWithShadow(int ind)
        {
            IFigure f = figures.Get(ind);

            ACommand command = new ShadowDecoratorCommand(figures, f);
            command.Execute();

            HandleAddCommand(command);
        }