@drincs/pixi-vn-ink
Version:
Pixi'VN gives you the ability to write your own narrative using Ink
19 lines (17 loc) • 505 B
text/typescript
/**
* This function imports string or array of strings written in ink language into the Pixi’VN engine.
* @example
* ```ts
* import { importInkText } from 'pixi-vn'
* importInkText(`
* === back_in_london ===
* Hello, World!
* `).then(() => {
* GameStepManager.callLabel("back_in_london", {})
* })
* ```
* @param texts string or array of strings written in ink language
* @returns
*/
declare function importInkText(texts: string | string[]): Promise<void[]>;
export { importInkText };