/// <summary> /// 省略Director,直接在内部调用 /// </summary> public static Actor constructor(ActorBuilder ab) { ab.buildType(); ab.buildSex(); ab.buildFace(); ab.buildCostume(); ab.buildHairstyle(); return(actor); }
public Actor constructor(ActorBuilder ab) { Actor actor; ab.buildType(); ab.buildSex(); ab.buildFace(); ab.buildCostume(); if (!ab.isBareheaded()) { ab.buildHairstyle(); } actor = ab.createActor(); return(actor); }