@Override
	public void mouseClicked(MouseEvent e) {
		int mouse = e.getButton();
		Rectangle rect = new Rectangle(e.getX(), e.getY(), 1, 1);
		pressed = true;
		
		if(mouse == MouseEvent.BUTTON1) {
			switch(Game.state) {
			case GAME:
				break;
			case MENU:
				if(rect.intersects(Game.getInstance().getMenu().play)) {
					Game.state = GameState.GAME;
				} else if(rect.intersects(Game.getInstance().getMenu().quit)) {
					System.exit(1);
				}					
				break;
			case OPTIONS:
				break;
			case PAUSE:
				break;
			default:
				break;
			
			}
		}
	}