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

            ACommand command = new ShadowDecoratorCommand(figures, f);

            command.Execute();

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

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

            HandleAddCommand(command);
        }