findPlayerWallet
findPlayerWallet(
world):Entity|undefined
Defined in: packages/engine/src/gameplay/hero/actions.ts:54
The entity that holds this side’s player’s coins: her hero, or, in a game whose player is no hero, as a rider on a track, the first entity with a wallet under the client’s authority.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
Returns
Section titled “Returns”Entity | undefined