Exemplo n.º 1
0
 /// <summary>
 /// 省略Director,直接在内部调用
 /// </summary>
 public static Actor constructor(ActorBuilder ab)
 {
     ab.buildType();
     ab.buildSex();
     ab.buildFace();
     ab.buildCostume();
     ab.buildHairstyle();
     return(actor);
 }
Exemplo n.º 2
0
        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);
        }