commonMain.eu.codlab.lorcana.math.ExpectedCard.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lorcana-math Show documentation
Show all versions of lorcana-math Show documentation
Lorcana set descriptions and data
package eu.codlab.lorcana.math
class ExpectedCard internal constructor(
val name: String,
originalAmount: Long,
originalMin: Long,
originalMax: Long
) {
var amount: Long = originalAmount
private set
var min: Long = originalMin
private set
var max: Long = originalMax
private set
internal fun update(amount: Long, min: Long, max: Long) {
this.amount = amount
this.min = min
this.max = max
}
override fun toString(): String {
return "{amt: $amount, min: $min, max: $max}"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy