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