Skip to content

five-on-it / packages/missions/src/phone / phoneTick

Function: phoneTick() ​

phoneTick(phone, ctx): void

Defined in: packages/missions/src/phone.ts:540

What time and distance do to the phone on a step: a call rings out (missed); a conversation face to face ends when the player walks away or the person goes down; a screen the world opened closes when the player walks away from it; the waypoint clears once the player is there.

Parameters ​

phone ​

PhoneState

ctx ​

PhoneContext

Returns ​

void