// Events protected void raiseUpdateForm(RubikCube cube) { lock (cubeStat) { cubeStat.fromMatrix(cube.ToMatrix()); } }
public RubikCube Clone() { RubikCube cubeaux = new RubikCube(); cubeaux.fromMatrix((int[, , ]) this.ToMatrix().Clone()); return(cubeaux); }