Skip to content

stepOwnHero

stepOwnHero(world, __namedParameters): void

Defined in: packages/engine/src/gameplay/replication/replay.ts:68

Runs steps steps of the client’s own hero on input: what the client replays her moves through once the room has corrected her. She is the one hero under the client’s authority, so the step’s own copy of the input reaches her alone.

Parameter Type
world World
__namedParameters OwnHeroSteps

void