computeValue

open fun <T> computeValue(card: CardInstance, value: Value<T>): T?

Computes the value of a given Value for a specific CardInstance.

Return

The computed value.

Parameters

card

The CardInstance for which the value is being computed.

value

The Value to be computed.