public void CreatePerson() { pb.BuildHead(); pb.BuildBody(); pb.BuildArmLeft(); pb.BuildArmRight(); pb.BuildLegLeft(); pb.BuildLegRight(); }
public void CreatePerson() { _personBuilder.BuildHead(); _personBuilder.BuildBody(); _personBuilder.BuildArmLeft(); _personBuilder.BuildArmRight(); _personBuilder.BuildLegLeft(); _personBuilder.BuildLegRight(); }
public static void CreatePerson(PersonBuilder pb) { pb.BuildHead(); pb.BuildBody(); pb.BuildArmLeft(); pb.BuildArmRight(); pb.BuildLegLeft(); pb.BuildLegRight(); }
/// <summary> // 根据用户选择 建造小人 /// </summary> public void CreatPerson() { PB.BuildArmleft(); PB.BuildBody(); PB.BuildArmleft(); PB.BuildArmright(); PB.BuildLegLeft(); PB.BuildLegRight(); // }
public void CreatePerson(PersonBuilder personBuilder) { // 头 personBuilder.BuildHead(); // 身体 personBuilder.BuildBody(); // 左手 personBuilder.BuildArmLeft(); // 右手 personBuilder.BuildArmRight(); // 左脚 personBuilder.BuildLegLeft(); // 右脚 personBuilder.BuildLegRight(); }