예제 #1
0
 public static void CreatePerson(PersonBuilder pb)
 {
     pb.BuildHead();
     pb.BuildBody();
     pb.BuildArmLeft();
     pb.BuildArmRight();
     pb.BuildLegLeft();
     pb.BuildLegRight();
 }
예제 #2
0
 public void CreatePerson()
 {
     pb.BuildHead();
     pb.BuildBody();
     pb.BuildArmLeft();
     pb.BuildArmRight();
     pb.BuildLegLeft();
     pb.BuildLegRight();
 }
예제 #3
0
 public void CreatePerson()
 {
     _personBuilder.BuildHead();
     _personBuilder.BuildBody();
     _personBuilder.BuildArmLeft();
     _personBuilder.BuildArmRight();
     _personBuilder.BuildLegLeft();
     _personBuilder.BuildLegRight();
 }
예제 #4
0
 public void CreatePerson(PersonBuilder personBuilder)
 {
     // 头
     personBuilder.BuildHead();
     // 身体
     personBuilder.BuildBody();
     // 左手
     personBuilder.BuildArmLeft();
     // 右手
     personBuilder.BuildArmRight();
     // 左脚
     personBuilder.BuildLegLeft();
     // 右脚
     personBuilder.BuildLegRight();
 }