@Override
	public void mouseClicked(MouseEvent arg0) {
		
		PictureLabel label = (PictureLabel) arg0.getSource();
		
		if (SwingUtilities.isLeftMouseButton(arg0)) {
			switch (label.getText()) {
				case "Quest":
					for(int i = 0; i < Main.begin.getSize(); i++){
						Main.begin.getCards()[i].getName();
						Main.begin.getCards()[i].setLocation(150 * i, 0);
						Main.panel.add(Main.begin.getCards()[i]);
						Main.panel.repaint();
					}
					System.out.println("Starting quest");
					break;
				case "MP [WIP]":
					System.out.println("Starting multiplayer");
					break;
				case "Edit Deck":
					System.out.println("Starting deck editing");
					break;
				case "Options":
					System.out.println("Starting options");
					break;
				case "Switch User":
					JFrame frame = (JFrame)label.getParent().getParent()
							.getParent().getParent().getParent();
					frame.dispose();
					System.out.println("Starting switch user");
					break;
				case "Quit":
					System.out.println("Quitting");
					System.exit(0);
					break;
				default:
					System.out.println(label.getText() + " not registered");
					break;
			}
		}
	}