Skip to content

1681-engine / react / registerGlyph

Function: registerGlyph() ​

ts
function registerGlyph(id, art): void;

Defined in: src/react/Glyph.tsx:53

Adds a mark (or replaces one, a built-in included): a coin in the game's own colours, a class crest.

Parameters ​

ParameterType
idstring
artreadonly string[] | GlyphArt

Returns ​

void

Released under the MIT License.