Choice::whenChanged()
Called when the player chooses another option (not by setSelected(String)).
Examples
Syntax
Java
.whenChanged(option)
Parameters
| Name | Data Type | Description |
|---|---|---|
| option | String | the option chosen now |
Return
void
Called when the player chooses another option (not by setSelected(String)).
.whenChanged(option)
| Name | Data Type | Description |
|---|---|---|
| option | String | the option chosen now |
void