java.lang.Object
net.demilich.metastone.game.spells.desc.condition.Condition
All Implemented Interfaces:
java.io.Serializable, HasDesc<ConditionDesc>
Direct Known Subclasses:
AdjacentToPermanentCondition, AllMatchFilterCondition, AllModuloValueEqualsZeroCondition, AmalgamRaceCondition, AndCondition, AnyMatchFilterCondition, AttributeCondition, AttributeExistsCondition, CanPlayPactCondition, CanSummonCondition, CardPropertyCondition, ComboCondition, ComparisonCondition, ControlsSecretCondition, CountCondition, DeckContainsCondition, EntityEqualityCondition, GraveyardContainsCondition, HasAttackedCondition, HasEntitiesOnBoardCondition, HasHeroPowerCondition, HasWeaponCondition, HeroClassCondition, HighlanderHandCondition, HoldsCardCondition, InvokeCondition, IsAdjacentCondition, IsDamagedCondition, IsDeadCondition, ManaCostCondition, ManaMaxedCondition, MinionOnBoardCondition, NumberOfCopiesCondition, OrCondition, OverloadedCondition, OverloadedManaCrystalsCondition, OwnedByPlayerCondition, PlayedLastTurnCondition, RaceCondition, RandomCondition, ReservoirCondition, StorageContainsCondition, SurgeCondition

public abstract class Condition
extends java.lang.Object
implements java.io.Serializable, HasDesc<ConditionDesc>
A condition is used for true or false comparisons in the CardDesc card JSON.

The core function is isFulfilled(GameContext, Player, Entity, Entity).

See Also:
Serialized Form