Skip to content

Instantly share code, notes, and snippets.

@KingC100
Created December 19, 2013 15:23
Show Gist options
  • Save KingC100/8040866 to your computer and use it in GitHub Desktop.
Save KingC100/8040866 to your computer and use it in GitHub Desktop.
対戦種別切り替え
@FXML
public void SelectedToSingleBattle(ActionEvent event){
txb_Elect_Own_4.setDisable(true);
txb_Elect_Rival_4.setDisable(true);
rb.setBattleType(1);
}
@FXML
public void SelectedToDoubleBattle(ActionEvent event){
txb_Elect_Own_4.setDisable(false);
txb_Elect_Rival_4.setDisable(false);
rb.setBattleType(2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment