示例#1
0
 public Actor Construct(ActorBuilder builder)
 {
     builder.BuildType();
     if (builder.IsGood())
     {
         builder.BuildName();
     }
     return(builder.CreateActor());
 }
示例#2
0
 public Actor GetActor(ActorBuilder actorBuilder)
 {
     actorBuilder.BuildCostume();
     actorBuilder.BuildFace();
     actorBuilder.BuildHairstyle();
     actorBuilder.BuildSex();
     actorBuilder.BuildType();
     return(actorBuilder.GetActor());
 }