Uses of Interface
dev.twilite.game.simulation.model.entity.SimulationEntity.LineOfSight
Packages that use SimulationEntity.LineOfSight
Package
Description
-
Uses of SimulationEntity.LineOfSight in dev.twilite.game.simulation.model.combat
Methods in dev.twilite.game.simulation.model.combat with parameters of type SimulationEntity.LineOfSightModifier and TypeMethodDescriptionSimulationCombatState.step(Rect target, SimulationCombatState.Prediction prediction, SimulationEntity.LineOfSight<? super SimulationCombatState> lineOfSight) Advances combat by one tick after moving the player totarget. -
Uses of SimulationEntity.LineOfSight in dev.twilite.game.simulation.model.entity
Methods in dev.twilite.game.simulation.model.entity that return SimulationEntity.LineOfSightModifier and TypeMethodDescriptionstatic <I> SimulationEntity.LineOfSight<I> SimulationEntity.LineOfSight.clear()Returns a rule that treats every target as visible.static <I> SimulationEntity.LineOfSight<I> SimulationEntity.LineOfSight.world()Returns a rule that uses loaded-world line of sight. -
Uses of SimulationEntity.LineOfSight in dev.twilite.game.simulation.rules.combat
Methods in dev.twilite.game.simulation.rules.combat that return SimulationEntity.LineOfSightModifier and TypeMethodDescriptionSimulationEntity.LineOfSight<? super I> EntityCombat.Builder.lineOfSight()Returns the value of thelineOfSightrecord component.Methods in dev.twilite.game.simulation.rules.combat with parameters of type SimulationEntity.LineOfSightModifier and TypeMethodDescriptionEntityCombat.Builder.lineOfSight(SimulationEntity.LineOfSight<? super I> lineOfSight) Uses a custom line-of-sight rule.Constructors in dev.twilite.game.simulation.rules.combat with parameters of type SimulationEntity.LineOfSightModifierConstructorDescriptionBuilder(Function<I, ? extends Collection<SimulationEntity>> entities, EntityCombat.Prediction<I> prediction, SimulationEntity.LineOfSight<? super I> lineOfSight) Creates an instance of aBuilderrecord class.