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