Skip to content

homeOf beta ​

Function of @v12-engine/engine

ts
export declare function homeOf(world: World, player: PlayerId, near?: Vec2): Vec2 | undefined;

A side's home, where its heroes come back and are recalled to: the map's point named home.<team> (home.1), or else the structure of the player's side nearest near (its core, its hall), or else nothing