Class HighlanderDeckCondition
java.lang.Object
net.demilich.metastone.game.spells.desc.condition.Condition
net.demilich.metastone.game.spells.desc.condition.NumberOfCopiesCondition
net.demilich.metastone.game.spells.desc.condition.HighlanderDeckCondition
- All Implemented Interfaces:
Serializable
,HasDesc<ConditionDesc>
Evaluates to
true
when there is exactly one copy of each card in the EntityReference.FRIENDLY_DECK
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isFulfilled
(GameContext context, Player player, ConditionDesc desc, Entity source, Entity target) Methods inherited from class net.demilich.metastone.game.spells.desc.condition.NumberOfCopiesCondition
targetConditionArgOverridesSuppliedTarget, usesFilter
Methods inherited from class net.demilich.metastone.game.spells.desc.condition.Condition
equals, getDesc, hashCode, isFulfilled, isFulfilledForTarget, multipleTargetsEvaluatedAsAnd, multipleTargetsEvaluatedAsOr, requiresAtLeastOneTarget, setDesc, singleTargetOnly
-
Constructor Details
-
HighlanderDeckCondition
-
-
Method Details
-
isFulfilled
protected boolean isFulfilled(GameContext context, Player player, ConditionDesc desc, Entity source, Entity target) - Overrides:
isFulfilled
in classNumberOfCopiesCondition
-