Skip to content

heroBehind beta ​

Function of @v12-engine/engine

ts
export declare function heroBehind(world: World, entity: Entity | undefined): Entity | undefined;

The hero behind what did something: itself, or the hero whose summon it is (summoned.by). None for what no hero is behind (a tower, a creep)