public DirAssgn(DirAssgn otherInstance) { this.callback[0] = otherInstance.callback[0]; this.callback[1] = otherInstance.callback[1]; this.soundID[0] = otherInstance.soundID[0]; this.soundID[1] = otherInstance.soundID[1]; }
// Constructor public PovAssgn() { for (int i = 0; i < direction.Length; i++) { direction[i] = new DirAssgn(); } }