Changes made to pre-race countdown. #story[1188]

main
David Wu 8 years ago
parent f926355d1c
commit 490aab3f8d

@ -316,28 +316,32 @@ public class InGameLobbyController extends Controller {
private void countdownText(long interval){
if (interval <=4000){
return;
}
if (interval <=5000){
countdownTenText.setText("5");
//countdownTenText.setText("5");
return;
}
if (interval <=6000){
countdownTenText.setText("6");
countdownTenText.setText("1");
return;
}
if (interval <=7000){
countdownTenText.setText("7");
countdownTenText.setText("2");
return;
}
if (interval <=8000){
countdownTenText.setText("8");
countdownTenText.setText("3");
return;
}
if (interval <=9000){
countdownTenText.setText("9");
countdownTenText.setText("4");
return;
}
if (interval <=10000){
countdownTenText.setText("10");
countdownTenText.setText("5");
return;
}

@ -101,6 +101,11 @@
<Font name="System Bold" size="41.0" />
</font>
</Label>
<Label fx:id="preRacelabel" alignment="CENTER" text="Entering Race In:" textFill="RED" AnchorPane.bottomAnchor="80.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<font>
<Font name="System Bold" size="18.0" />
</font>
</Label>
</children>
</AnchorPane>
</children>

Loading…
Cancel
Save