Skip to content

stepHeroAlone

stepHeroAlone(world, __namedParameters): void

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

Runs steps steps of one hero on the input she holds, and of nothing else in the world: a client’s replay of its own hero, and a room catching one player up. Her steer, her move and her sweep run for her alone. The Rapier world is not stepped, so every other body stands where the last step left it. ponytail: the engine’s movement systems alone, so a game’s own system that moves her, a dash or a knockback, steps her differently here from the world’s steps, and the client corrects her again. Stepping her through the world’s Systems, filtered to her, lifts it.

Parameter Type
world World
__namedParameters HeroSteps

void