private void dispatcherTimer_Tick(object sender, EventArgs e) { if (_cube._turnState != 0 && _cube._currentTransformIndex >= 0 && _cube._currentTransformIndex < _cube._transformations.Length) { _cube.AnimateFaceRotation(cubeGeometry.Children); } }