kotcity4 / kotcity.automata / ResourceCounts

ResourceCounts

class ResourceCounts

Constructors

<init>

ResourceCounts()

Functions

consumeCount

fun consumeCount(tradeable: Tradeable): Int

increment

fun increment(countType: CountType, tradeable: Tradeable, quantity: Int): Int

supplyCount

fun supplyCount(tradeable: Tradeable): Int

totals

fun totals(): List<EconomyReport>

tradeBalance

fun tradeBalance(tradeable: Tradeable): Int