Fixed: Bar first implementation
This commit is contained in:
@@ -40,6 +40,7 @@ import java.util.*;
|
||||
|
||||
public class MainFXMLController {
|
||||
|
||||
@FXML private HBox currentStateBar;
|
||||
@FXML private ScrollPane playerSide;
|
||||
@FXML private HBox mainHBox;
|
||||
@FXML private HBox board;
|
||||
@@ -559,6 +560,8 @@ public class MainFXMLController {
|
||||
}
|
||||
|
||||
private void renderSidePanel() {
|
||||
currentStateBar.getChildren().clear();
|
||||
currentStateBar.getChildren().add(new Label("Round:"+controller.miniModel.currentState.getRound()));
|
||||
era.setText(Integer.toString(controller.miniModel.currentState.getEra()));
|
||||
round.setText(Integer.toString(controller.miniModel.currentState.getRound()));
|
||||
player.setText(controller.miniModel.currentState.getCurrentPlayer().getUserName());
|
||||
|
||||
Reference in New Issue
Block a user