예제 #1
0
파일: Team.cs 프로젝트: tvshevchuk/OOD
 public Team(AbstractFactory factory)
 {
     ball = factory.CreateBall();
     stadium = factory.CreateStadium();
 }
예제 #2
0
 public Team(AbstractFactory factory)
 {
     ball    = factory.CreateBall();
     stadium = factory.CreateStadium();
 }