Class EntityCountValueProvider
java.lang.Object
net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
net.demilich.metastone.game.spells.desc.valueprovider.EntityCountValueProvider
- All Implemented Interfaces:
Serializable
,HasDesc<ValueProviderDesc>
- Direct Known Subclasses:
BoardCountValueProvider
,CardCountValueProvider
,GraveyardMinionCountValueProvider
Counts the number of entities specified in the
ValueProviderArg.TARGET
filtered by ValueProviderArg.FILTER
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
matches
(GameContext context, Player player, Entity entity, Entity host) protected int
provideValue
(GameContext context, Player player, Entity target, Entity originalHost) Methods inherited from class net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
getDesc, getValue, setDesc
-
Constructor Details
-
EntityCountValueProvider
-
-
Method Details
-
provideValue
- Specified by:
provideValue
in classValueProvider
-
matches
-