示例#1
0
        internal void DecorateWithShadow(int ind)
        {
            IFigure f = figures.Get(ind);

            ACommand command = new ShadowDecoratorCommand(figures, f);

            command.Execute();

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

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

            HandleAddCommand(command);
        }