Skip to content

CallingDef beta ​

Interface of @v12-engine/engine

ts
export interface CallingDef

One calling a hero may have (HeroDef.callings): what it is called and what it plays as, with its picture and colour for the HUD

Members ​

color ​

ts
color?: string;

The colour it is shown in, a CSS colour: the HUD's accent when left out

description ​

ts
description?: string;

What a hero of it does, in a few words, for a tooltip

icon ​

ts
icon?: string;

Its picture: an address of an image, or the name of a glyph the HUD draws (registerGlyph). The HUD draws the engine's own callings by their ids; the first letter of the name for one with neither

id ​

ts
id: string;

Its id, what a hero's callings and an item's suits name it by: vanguard

name ​

ts
name: string;

What the player sees it called: Vanguard