Class Rules<I>

java.lang.Object
dev.twilite.game.simulation.rules.Rules<I>
Type Parameters:
I - plugin-defined input for each run

public class Rules<I> extends Object
Typed access to provided simulation task factories.
  • Constructor Details

    • Rules

      public Rules()
  • Method Details

    • typed

      public static <I> Rules<I> typed()
      Creates typed access to provided simulation task factories.
      Type Parameters:
      I - plugin-defined input for each run
    • threats

      public Threats.Typed<I> threats()
      Returns the coordinate threat task factory.
    • areaThreats

      public AreaThreats.Typed<I> areaThreats()
      Returns the area threat task factory.
    • movingThreats

      public MovingThreats.Typed<I> movingThreats()
      Returns the moving threat task factory.
    • entityCombat

      public EntityCombat.Typed<I> entityCombat()
      Returns builders for stateful simulated entity combat.
    • linePreference

      public LinePreference.Typed<I> linePreference()
      Returns the line preference task factory.