watchWalks
watchWalks(
world,session,send):QueryUnsubscriber
Defined in: packages/engine/src/gameplay/replication/client.ts:568
Sends the room a walk each time her path is set here, whoever set it: a click, the devtools or a game’s own code, and a stop for a path set empty. The walk names the step to come, which is the first to run her path. A walk past her budget is sent all the same, and stands her here as the room stands her. Returns what stops it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
session |
RoomSession |
send |
(walk) => void |
Returns
Section titled “Returns”QueryUnsubscriber