예제 #1
0
 public PovAssgn(PovAssgn otherInstance)
 {
     for (int i = 0; i < this.direction.Length; i++)
     {
         this.direction[i] = otherInstance.direction[i].Clone();
     }
 }
예제 #2
0
 /// <summary>
 /// Make new instance.
 /// </summary>
 public JoyAssgn()
 {
     for (int i = 0; i < axis.Length; i++)
     {
         axis[i] = new AxAssgn();
     }
     for (int i = 0; i < pov.Length; i++)
     {
         pov[i] = new PovAssgn();
     }
     for (int i = 0; i < dx.Length; i++)
     {
         dx[i] = new DxAssgn();
     }
 }