aimShot
aimShot(
world,__namedParameters):AimedShot|null
Defined in: packages/engine/src/gameplay/weapons/fire.ts:50
Aims a shot from the middle of her body toward the target under the pointer, or where there is none, toward the point under it level with her middle, and finds where it ends on this page’s picture. Null for a hero with no place. Written in place: copy what is kept.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
__namedParameters |
ShotAim |
Returns
Section titled “Returns”AimedShot | null