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 ​
| Parameter | Type |
|---|---|
id | string |
art | readonly string[] | GlyphArt |
Returns ​
void