Class GraveyardCountCondition
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.GraveyardCountCondition
- All Implemented Interfaces:
Serializable
,HasDesc<ConditionDesc>
Counts entities matching the
ConditionArg.FILTER
using the evaluation rules of the CountCondition
.- 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
-
GraveyardCountCondition
-
-
Method Details
-
getCountForPlayer
- Specified by:
getCountForPlayer
in classCountCondition
-