摘要:
第六章 装饰模式Main 1 package 2 { 3 import flash.display.Sprite; 4 5 public class Main extends Sprite 6 { 7 public function Main() 8 { 9 var c:ConcreteComponent = new ConcreteComponent();10 var d1:ConcreteDecoratorA = new ConcreteDecoratorA();11 ... 阅读全文