Uses of Record Class
dev.twilite.game.simulation.model.threat.SimulationAreaThreat
Packages that use SimulationAreaThreat
Package
Description
-
Uses of SimulationAreaThreat in dev.twilite.game.simulation.model.threat
Methods in dev.twilite.game.simulation.model.threat that return SimulationAreaThreatModifier and TypeMethodDescriptionstatic SimulationAreaThreatSimulationAreaThreat.area(int id, Rect area, int startTick, int duration, int penalty, boolean avoid) Creates an area threat with an explicit source id.static SimulationAreaThreatCreates a one-tick area threat that is not tied to a specific source id.static SimulationAreaThreatCreates an area threat that is not tied to a specific source id.SimulationAreaThreat.Builder.avoid()Builds a threat that should be avoided as a final destination.static SimulationAreaThreatCreates a one-tick area threat that should be avoided as a final destination.static SimulationAreaThreatCreates an area threat that should be avoided as a final destination.SimulationAreaThreat.Builder.penalize()Builds a threat that penalizes matching nodes without rejecting them as final destinations. -
Uses of SimulationAreaThreat in dev.twilite.game.simulation.rules.threat
Methods in dev.twilite.game.simulation.rules.threat that return types with arguments of type SimulationAreaThreatModifier and TypeMethodDescriptionFunction<I, ? extends Collection<SimulationAreaThreat>> AreaThreats.Builder.threats()Returns the value of thethreatsrecord component.Method parameters in dev.twilite.game.simulation.rules.threat with type arguments of type SimulationAreaThreatModifier and TypeMethodDescriptionstatic <I> AreaThreats.Builder<I> AreaThreats.from(Function<I, ? extends Collection<SimulationAreaThreat>> threats) Applies timed rectangular area threats.AreaThreats.Typed.from(Function<I, ? extends Collection<SimulationAreaThreat>> threats) Applies timed rectangular area threats.Constructor parameters in dev.twilite.game.simulation.rules.threat with type arguments of type SimulationAreaThreatModifierConstructorDescriptionBuilder(Function<I, ? extends Collection<SimulationAreaThreat>> threats) Creates an instance of aBuilderrecord class.