api.module
This package holds more than this page lists. See all of its files in its world.
README.md
tabletopMinis.api
The public API of Tabletop Minis: require("tabletopMinis.api"). Spawns a miniature figure for a tactics or board game unit by role (melee, ranged, healer, tank, scout, area, leader, heavy, duelist; ROLE_FOR / roleFor map tacticsKit unit type ids to them) and style (painted, tin, critters, clockwork) on a round base, recolours it to a team scheme (setScheme), names it (describe) and animates it with transform poses (pose: idle, attack, hit, down, cheer, rest), and renders cached head-and-shoulders portrait textures for UI images (portrait, filled in once the figure is resident and verified not blank; portraitStatus, portraitReady, awaitPortrait, portraitInfo, portraitCoverage, clearPortraits). Works at runtime from any module, component or scene build. The package README documents every call.