Class Threats.Typed<I>
java.lang.Object
dev.twilite.game.simulation.rules.threat.Threats.Typed<I>
- Type Parameters:
I- plugin-defined input for each run
- Enclosing class:
Threats
Typed threat task factory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom(Function<I, ? extends Collection<SimulationThreat>> threats) Applies timed coordinate threats.
-
Constructor Details
-
Typed
public Typed()
-
-
Method Details
-
from
Applies timed coordinate threats.- Parameters:
threats- function that supplies threats for the current input
-