常用方法
常用方法
常用方法
常用方法
//adds decorator to item (combines items) public void AddDecorator(IItem decorator) { if (_decorator == null) { _decorator = decorator; } else { _decorator.AddDecorator(decorator); } }