Class IndexInSourceValueProvider
java.lang.Object
net.demilich.metastone.game.spells.desc.valueprovider.ValueProvider
net.demilich.metastone.game.spells.desc.valueprovider.IndexInSourceValueProvider
- All Implemented Interfaces:
Serializable
,HasDesc<ValueProviderDesc>
Returns the index of the first entity that matches the
ValueProviderArg.CARD_FILTER
in the specified ValueProviderArg.CARD_SOURCE
.- 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
-
IndexInSourceValueProvider
-
-
Method Details
-
provideValue
- Specified by:
provideValue
in classValueProvider
-