public void mouseClicked(MouseEvent e) {

		switch(steps){

		case 1:
			nextPosition = tface.getPosition(5,5);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 2:
			nextPosition = tface.getPosition(5,4);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 3:
			nextPosition = tface.getPosition(5,3);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 4:
			nextPosition = tface.getPosition(5,2);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 5:
			nextPosition = tface.getPosition(6,2);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 6:
			nextPosition = tface.getPosition(7,2);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 7:
			nextPosition = tface.getPosition(7,3);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 8:
			nextPosition = tface.getPosition(7,4);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		case 9:
			nextPosition = tface.getPosition(7,5);
			tRover.moveToPosition(nextPosition);
			steps++;
			break;
		default:
			gui.setVisible(false);
		}
	}