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