Class DiedThisTurnValueProvider
java.lang.Object
net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
net.demilich.metastone.game.spells.desc.valueprovider.DiedThisTurnValueProvider
- All Implemented Interfaces:
Serializable
,HasDesc<ValueProviderDesc>
Indicates how many of the
ValueProviderArg.FILTER
filtered actors were destroyed this turn.
Use ValueProviderArg.TARGET_PLAYER
to specify which graveyards to use. For example, checks both graveyards if
ValueProviderArg.TARGET_PLAYER
is TargetPlayer.BOTH
.
- 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
-
DiedThisTurnValueProvider
-
-
Method Details
-
provideValue
- Specified by:
provideValue
in classValueProvider
-