Class PlayedThisTurnValueProvider
java.lang.Object
net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
net.demilich.metastone.game.spells.desc.valueprovider.PlayedThisTurnValueProvider
- All Implemented Interfaces:
Serializable,HasDesc<ValueProviderDesc>
Returns the number of cards matching
ValueProviderArg.FILTER or ValueProviderArg.CARD_FILTER that
were played this turn by the ValueProviderArg.TARGET_PLAYER.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intprovideValue(GameContext context, Player player, Entity target, Entity host) Methods inherited from class net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
getDesc, getValue, setDesc
-
Constructor Details
-
PlayedThisTurnValueProvider
-
-
Method Details
-
provideValue
- Specified by:
provideValuein classValueProvider
-