Example #1
0
 public DGSnSnNode(NextStateNode nsn, StateNode state)
     : base(nsn, state)
 {
     if (nsn == null)
     {
         throw new ArgumentNullException("nsn");
     }
     this.mNextStateNode = nsn;
     this.mNextState     = new RefToState(this.mScene, nsn.NextState);
     this.UpdateVisualization();
 }
Example #2
0
        private void CreateNextStateCommand(object value)
        {
            RefToState state = value as RefToState;

            this.mScene.Container.UndoRedo.Submit(new NextStateCommand(this, state));
        }