FirstFullyAvailableResource

Returns the first resource that can (individually) entirely supply the requested amount. The return list will have 0 or 1 item.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun selectResources(amountNeeded: Int, list: List<Resource>): List<Resource>