示例#1
0
 public SlotBuilder(StateMachineScene scene, SlotSetupBuilder ssb)
 {
     if (scene == null)
     {
         throw new ArgumentNullException("scene");
     }
     if (ssb == null)
     {
         throw new ArgumentNullException("ssb");
     }
     this.mScene = scene;
     this.mSSB   = ssb;
     this.InitLists();
 }
示例#2
0
 public SlotBuilder(StateMachineScene scene,
                    SlotSetupBuilder ssb, SlotBuilder sb)
 {
     if (scene == null)
     {
         throw new ArgumentNullException("scene");
     }
     if (ssb == null)
     {
         throw new ArgumentNullException("ssb");
     }
     if (sb == null)
     {
         throw new ArgumentNullException("sb");
     }
     this.mScene      = scene;
     this.mSSB        = ssb;
     this.mSlotList   = new ActorSlotList(this, sb.mSlotList);
     this.mSuffixList = new ActorSuffixList(this, sb.mSuffixList);
     this.CommitLists();
 }
示例#3
0
 public void AddToSSB(SlotSetupBuilder ssb)
 {
     ssb.AddSlotAssignment(this.mChainID, this.mSlotID,
                           this.mActorNameHash, this.mSlotNameHash);
 }
示例#4
0
 public void AddToSSB(SlotSetupBuilder ssb)
 {
     ssb.AddNamespaceSlotSuffix(
         this.mActor.GetValue(), this.mParam.GetValue());
 }