Exemplo n.º 1
0
 public ActorSuffix(SlotBuilder sb)
 {
     if (sb == null)
     {
         throw new ArgumentNullException("sb");
     }
     this.mSB    = sb;
     this.mActor = new RefToActor(sb.mScene, null);
     this.mParam = new RefToParam(sb.mScene, null);
 }
Exemplo n.º 2
0
 public ActorSuffix(SlotBuilder sb,
                    ActorDefinition actor, ParamDefinition param)
 {
     if (sb == null)
     {
         throw new ArgumentNullException("sb");
     }
     this.mSB    = sb;
     this.mActor = new RefToActor(sb.mScene, actor);
     this.mParam = new RefToParam(sb.mScene, param);
 }
Exemplo n.º 3
0
 public DGPropNode(CreatePropNode cpn, StateNode state)
     : base(cpn, state)
 {
     if (cpn == null)
     {
         throw new ArgumentNullException("cpn");
     }
     this.mPropNode  = cpn;
     this.mPropActor = new RefToActor(this.mScene, cpn.PropActor);
     this.mPropParam = new RefToParam(this.mScene, cpn.PropParam);
     this.UpdateVisualization();
 }
Exemplo n.º 4
0
 public ActorSuffix(SlotBuilder sb,
                    SlotSetupBuilder.ActorSuffix suffix)
 {
     if (sb == null)
     {
         throw new ArgumentNullException("sb");
     }
     if (suffix == null)
     {
         throw new ArgumentNullException("suffix");
     }
     this.mSB    = sb;
     this.mActor = new RefToActor(sb.mScene, suffix.Actor);
     this.mParam = new RefToParam(sb.mScene, suffix.Param);
 }
Exemplo n.º 5
0
        public DGSoPnNode(SelectOnParameterNode sopn, StateNode state)
            : base(sopn, state)
        {
            if (sopn == null)
            {
                throw new ArgumentNullException("sopn");
            }
            this.mSoPn  = sopn;
            this.mParam = new RefToParam(this.mScene, sopn.Parameter);

            this.mCaseAnchors = new AnchorPoint[0];
            this.mCaseStrings = new string[0];
            this.mCaseCount   = 0;
            this.mHeadMGH     = 7;
            this.mBodyMGH     = 7;

            this.UpdateVisualization();
        }
Exemplo n.º 6
0
        private void CreateParameterCommand(object value)
        {
            RefToParam param = value as RefToParam;

            this.mScene.Container.UndoRedo.Submit(new ParameterCommand(this, param));
        }