Ejemplo n.º 1
0
        public void itCorrectlyFlipsRight()
        {
            Handler.flipRight();

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