public void getMovesTriangle(int triangleIndex, ref int[] output) { // return arraylist output[0] = this.triangles[triangleIndex]; output[1] = this.triangles[triangleIndex + 1]; output[2] = this.triangles[triangleIndex + 2]; }