VIPRA Documentation
Loading...
Searching...
No Matches
VIPRA::Behaviors::ModifierDirection Class Reference

Target Modifier for direction to target. More...

#include <modifier_direction.hpp>

Public Member Functions

 ModifierDirection (Direction direction)
 
auto operator() (Simpack pack, VIPRA::idx targetIdx, VIPRA::idx selfIdx) const -> bool
 Returns true if the target is in the desired direction.
 

Detailed Description

Target Modifier for direction to target.

Member Function Documentation

◆ operator()()

auto VIPRA::Behaviors::ModifierDirection::operator() ( Simpack pack,
VIPRA::idx targetIdx,
VIPRA::idx selfIdx ) const -> bool
inline

Returns true if the target is in the desired direction.

Parameters
pack: simulation pack
targetIdx: target to check
selfIdx: pedestrain looking for target
Returns
true : if in direction
false : if not in direction

The documentation for this class was generated from the following file: