getAvailableTroop()
Usage: |
city.getAvailableTroop() |
Example: |
city.getAvailableTroop() |
This function returns a TroopBean 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"