// Start is called before the first frame update void Start() { Baibai baibai = new Baibai(); Animation animation_cycle = new Animation(); Friends a = new Friends(); Friends b = new Friends(); Friends c = new Friends(); Friends d = new Friends(); Friends e = new Friends(); Dalao dalao = new Dalao(); baibai.assignthemission(a, ani_factory.Create_section("story")); baibai.assignthemission(b, ani_factory.Create_section("cast")); baibai.assignthemission(c, ani_factory.Create_section("scene")); baibai.assignthemission(d, ani_factory.Create_section("dubbing")); baibai.assignthemission(e, ani_factory.Create_section("music")); baibai.invite(dalao); dalao.watch(animation_cycle); }
// Start is called before the first frame update void Start() { BAIBAI baibai = new BAIBAI("白白"); Builder zz = new Builder("zz"); Builder wuwu = new Builder("wuwu"); Builder ningning = new Builder("ningning"); Builder hongyi = new Builder("hongyi"); Builder wupeng = new Builder("wupeng"); Builder mengmeng = new Builder("mengmeng"); Animation animation = new Animation("动画片"); animation.partA = "script"; animation.partB = "roledesign"; animation.partC = "scencedesign"; animation.partD = "production"; animation.partE = "music"; animation.partF = "voice"; baibai.Director(animation); baibai.Construct(animation); animation.setPartA(zz); animation.setPartB(wuwu); animation.setPartC(ningning); animation.setPartD(hongyi); animation.setPartE(wupeng); animation.setPartF(mengmeng); //buildPartA(zz, animation); //buildPartB(wuwu, animation); //buildPartC(ningning, animation); //buildPartD(hongyi,animation); //buildPartE(wupeng, animation); //buildPartF(mengmeng, animation); Dalao dalao = new Dalao("大佬"); dalao.Getresult(animation); }
public override void invite(Dalao b) { Debug.Log("baibai invite" + b + "watch the animation"); }
public abstract void invite(Dalao b);