Skip to content

heroState beta ​

Variable of @v12-engine/engine

ts
heroState: import("./components").Component<HeroState, HeroSent>

A hero: what it has earned (HeroState). Set as a unit of a type that says it is one (UnitTypeDef.hero) is made, filed by owner (world.index.with(heroState, player), heroesOf). What is a hero is what has it: a fallen hero stays in the world's entities, out of the world, to be brought back