Vixen
02b45cc4
csharp
public readonly record struct FacetPredicate

A test over a move's facets, with wildcards.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ An empty predicate matches everything, which is what makes the last rule in a list a default rather than a special case the evaluator has to know about.

Fields and properties (2)

Methods (3)

  • public FacetPredicate(FacetSet Facets)

    A test over a move's facets, with wildcards.

  • public static FacetPredicate Of(params ReadOnlySpan<(string Key, string Value)> pairs)

    A predicate over key=value pairs.

  • public bool Matches(MoveEntry? entry)

    Whether a move matches.

Used by (3)

  • MoveTransitionTestsVixen.Animation.Tests
  • RuleTransitionPolicyVixen.Animation
  • TransitionRuleVixen.Animation