Ejemplo n.º 1
0
        public void itCorrectlyFlipsDown()
        {
            Handler.flipDown();

            frontEqual(Direction.NORTH, ImageKey.TOP);
            topEqual(Direction.SOUTH, ImageKey.BACK);
            backEqual(Direction.SOUTH, ImageKey.BOTTOM);
            bottomEqual(Direction.NORTH, ImageKey.FRONT);
            rightEqual(Direction.SOUTH, ImageKey.RIGHT);
            leftEqual(Direction.SOUTH, ImageKey.LEFT);
        }
Ejemplo n.º 2
0
 private void onDownClick(object sender, RoutedEventArgs e)
 {
     cubeRotationHandler.flipDown();
     updateImages();
 }