Skip to content

2024-July-27 - 2.7.14832

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Jul 21:06
5c6d1a0
push-down units to SimpleUnitPanel (#12785)

* opt_getUnitTypes #1

PlayerUnitsPanel.java
- break up logic in method getAllUnitCategories into separate methods
- add documentation

* push-down units to SimpleUnitPanel #1

Replaces usages of method SimpleUnitPanel.setUnitsFromCategories with new method setUnits in:
- BottomBar.java (passing through methods setTerritory -> updateTerritoryInfo -> createUnitBar)
- HistoryDetailsPanel.java
- MovePanel.java
- PlacementUnitsCollapsiblePanel.java
- PlacePanel.java
- PurchasePanel.java

SimpleUnitPanel.java
- remove method setUnitsFromCategories
- add new method setUnits