Vixen
caa30e12
csharp
public static class UtilitySelectors

The selectors that ship.

Read the guide page for this →

Fields and properties (3)

  • public static IUtilitySelector Highest

    The best one. Deterministic, and correct for anything a designer must be able to predict.

  • public static IUtilitySelector WeightedRandom

    Score as weight. Natural-looking and occasionally stupid.

  • public static IUtilitySelector Bucketed

    Dual utility: the best group wins, and only its members are considered.

Methods (2)

  • public static IUtilitySelector TopWeightedRandom(int count)

    Weighted random among the best few, which is the one most games actually want.

  • public static IUtilitySelector TopWeightedRandomFraction(float fraction)

    Weighted random among the best fraction.

Used by (5)

  • BucketedSelectorVixen.Ai
  • HighestSelectorVixen.Ai
  • UtilitySelectorTestsVixen.Ai.Tests
  • UtilitySetVixen.Ai
  • UtilitySetContentVixen.Ai