コード例 #1
0
 public DungeonMaster(DungeonFactory factory)
 {
     _hero    = factory.CreateHero();
     _monster = factory.CreateMonster();
 }
コード例 #2
0
 public DungeonMaster(DungeonFactory factory)
 {
     _hero = factory.CreateHero();
     _monster = factory.CreateMonster();
 }