select Resources
abstract fun selectResources(amountNeeded: Int, list: List<Resource>): MutableList<Resource>(source)
Return
the selected list of resources. It may be empty
Parameters
amount Needed
the amount needed from resources
list
of resources to consider selecting from