Class ConditionalValueProvider

java.lang.Object
net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
net.demilich.metastone.game.spells.desc.valueprovider.ConditionalValueProvider
All Implemented Interfaces:
Serializable, HasDesc<ValueProviderDesc>

public class ConditionalValueProvider extends ValueProvider
When the ValueProviderArg.CONDITION evalutes to true, return the value from ValueProviderArg.IF_TRUE. Otherwise, return the value in ValueProviderArg.IF_FALSE.
See Also: