Interface ExperimentalSyntax

All Superinterfaces:
SyntaxElement
All Known Subinterfaces:
DamageSourceExperimentSyntax, QueueExperimentSyntax, ReflectionExperimentSyntax, SimpleExperimentalSyntax
All Known Implementing Classes:
CondScalesWithDifficulty, CondWasIndirect, ExprCausingEntity, ExprDamageLocation, ExprDamageType, ExprDirectEntity, ExprFoodExhaustion, ExprSecDamageSource, ExprSourceLocation

public interface ExperimentalSyntax extends SyntaxElement
A SyntaxElement that requires one or more Experiments to be enabled and/or disabled.
See Also:
  • Method Details

    • isSatisfiedBy

      boolean isSatisfiedBy(ExperimentSet experimentSet)
      Checks whether the active Experiments satisfy the requirements of this syntax.
      Parameters:
      experimentSet - An ExperimentSet instance containing currently active Experiments in the environment.
      Returns:
      true if this SyntaxElement can be used.