availableResources property
The number of resources available to the player.
This is a number between 0
and totalResources.length
, accounting for
how many resources have been exhausted. For example, if the player has
5 resources, and has exhausted 3 of them, then this value is 2
.
Implementation
final int availableResources;