Skip to content

heroRecord beta ​

Function of @v12-engine/engine

ts
export declare function heroRecord(world: World, hero: Entity): HeroRecord;

A hero of a world as a record, to carry into another (see applyHeroRecord). Throws for what is no hero