Class CardsPlayedValueProvider
java.lang.Object
net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
net.demilich.metastone.game.spells.desc.valueprovider.CardsPlayedValueProvider
- All Implemented Interfaces:
Serializable
,HasDesc<ValueProviderDesc>
Returns the count of the number of cards played that by the
ValueProviderArg.TARGET_PLAYER
that satisfies the
specified ValueProviderArg.FILTER
.
The filter is run against the base cards that were played, not the cards that were actually played.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
provideValue
(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
-
CardsPlayedValueProvider
-
-
Method Details
-
provideValue
- Specified by:
provideValue
in classValueProvider
-