Uses of Record Class
dev.twilite.game.simulation.model.threat.SimulationMovingThreat
Packages that use SimulationMovingThreat
Package
Description
-
Uses of SimulationMovingThreat in dev.twilite.game.simulation.model.threat
Methods in dev.twilite.game.simulation.model.threat that return SimulationMovingThreatModifier and TypeMethodDescriptionSimulationMovingThreat.Builder.avoid()Builds a threat that should be avoided as a final destination.Returns a copy at a new position.static SimulationMovingThreatCreates a moving threat with an explicit source id.static SimulationMovingThreatCreates a moving threat that is not tied to a specific source id.static SimulationMovingThreatSimulationMovingThreat.movingAvoid(Coord position, int radius, int penalty) Creates a moving threat that should be avoided as a final destination.SimulationMovingThreat.Builder.penalize()Builds a threat that penalizes matching nodes without rejecting them as final destinations. -
Uses of SimulationMovingThreat in dev.twilite.game.simulation.rules.threat
Methods in dev.twilite.game.simulation.rules.threat that return types with arguments of type SimulationMovingThreatModifier and TypeMethodDescriptionFunction<I, ? extends Collection<SimulationMovingThreat>> MovingThreats.Builder.threats()Returns the value of thethreatsrecord component.Method parameters in dev.twilite.game.simulation.rules.threat with type arguments of type SimulationMovingThreatModifier and TypeMethodDescriptionstatic <I> MovingThreats.Builder<I> MovingThreats.from(Function<I, ? extends Collection<SimulationMovingThreat>> threats) Starts a moving threat task builder.MovingThreats.Typed.from(Function<I, ? extends Collection<SimulationMovingThreat>> threats) Starts a moving threat task builder.Constructor parameters in dev.twilite.game.simulation.rules.threat with type arguments of type SimulationMovingThreatModifierConstructorDescriptionBuilder(Function<I, ? extends Collection<SimulationMovingThreat>> threats) Creates an instance of aBuilderrecord class.