outerPane.setVisible(false);
outerPane.setOpacity(0.0);
outerPane.setPadding(new Insets(0, 15, 0, 15));
outerPane.setSpacing(20);
final ImageView background = new ImageView();
background.setCursor(Cursor.HAND);
background.setOpacity(1.0);
background.setImage(Assets.getBackground(Assets.IMAGE_SCREENS_GAME_SELECTION_BACKGROUND));
background.setOnMouseClicked(new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent me) {
if (!outerPane.isVisible()) {
background.setCursor(null);
outerPane.setVisible(true);
fadeInSelection.play();
fadeOutBackground.play();
}
}