getAvailableTroop()
Usage: |
city.getAvailableTroop() |
Example: |
city.getAvailableTroop() |
This function returns a troop bean containing the total count of all troops attached to a city (not just the troops in the city, includes troops marching to or returning from somewhere
echo "I have a total of {city.getAvailableTroop().carriage} transports assigned to this city"

![[+]](/moin_static/explorer/img/toggle1.png)

![[-]](/moin_static/explorer/img/toggle0.png)
