Class MinionCountCondition
java.lang.Object
net.demilich.metastone.game.spells.desc.condition.Condition
net.demilich.metastone.game.spells.desc.condition.CountCondition
net.demilich.metastone.game.spells.desc.condition.MinionCountCondition
- All Implemented Interfaces:
Serializable
,HasDesc<ConditionDesc>
true
if the minion count with the specified ConditionArg.FILTER
or ConditionArg.CARD_FILTER
evaluates to true with the specified ConditionArg.OPERATION
and ConditionArg.VALUE
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getCountForPlayer
(GameContext context, Player player, Entity source, Entity target) Methods inherited from class net.demilich.metastone.game.spells.desc.condition.CountCondition
isFulfilled, isFulfilledForTarget
Methods inherited from class net.demilich.metastone.game.spells.desc.condition.Condition
equals, getDesc, hashCode, isFulfilled, multipleTargetsEvaluatedAsAnd, multipleTargetsEvaluatedAsOr, requiresAtLeastOneTarget, setDesc, singleTargetOnly, targetConditionArgOverridesSuppliedTarget, usesFilter
-
Constructor Details
-
MinionCountCondition
-
-
Method Details
-
getCountForPlayer
- Specified by:
getCountForPlayer
in classCountCondition
-