예제 #1
0
        public Task SetCubeConfiguration(CubeConfiguration<FaceColour> configuration)
        {
            m_cubeResetTask = new TaskCompletionSource<object>();
            RubiksCube = new RubiksCube(configuration);
            m_cubeAnimator = new RubiksCubeAnimator(RubiksCube, AnimationLength);

            m_regenerateRubiksCube = true;

            return m_cubeResetTask.Task;
        }
예제 #2
0
 public Scene()
 {
     m_cubeAnimator = new RubiksCubeAnimator(RubiksCube, DefaultAnimationLength);
     ShowAxes = true;
 }