Skip to content

five-on-it / apps/client/src/renderer/hud-format / describeTarget

Function: describeTarget() ​

describeTarget(name, distance, dy, index, count): string

Defined in: apps/client/src/renderer/hud-format.ts:208

Names the target a shot would go to: pedestrian 12 m ↑2.0 m (2/3 · wheel), with the height difference and, with several on the line, which one the wheel has picked.

Parameters ​

name ​

string

distance ​

number

dy ​

number

index ​

number

count ​

number

Returns ​

string