Function eos_rs::api::dungeon_mode::get_direction_towards_position
source · pub fn get_direction_towards_position(
_ov29: &OverlayLoadLease<29>,
pos1: &position,
pos2: &position
) -> Option<Direction>
Expand description
Gets the direction in which a monster should move to go from the origin position to the target position.
Returns None if the direction returned is somehow invalid.