UNPKG

@drincs/pixi-vn

Version:

Pixi'VN is a npm package that provides various features for creating visual novels.

30 lines (27 loc) 914 B
import { TickerCallback, UPDATE_PRIORITY } from 'pixi.js'; import { a as TickerArgsType } from '../TickerBase-DKYzbzro.mjs'; import { TickerIdType } from '../types/TickerIdType.mjs'; import '../types/StorageElementType.mjs'; /** * TickerHistory is a class that contains the name of a class and the arguments that were used to create it. */ interface TickerHistory<TArgs extends TickerArgsType> { fn: TickerCallback<any>; id: TickerIdType; args: TArgs; canvasElementTags: string[]; priority?: UPDATE_PRIORITY; duration?: number; /** * If this ticker was created by steps */ createdByTicketStepsId?: string; } interface TickerHistoryForExport<TArgs extends TickerArgsType> { id: TickerIdType; args: TArgs; canvasElementTags: string[]; priority?: UPDATE_PRIORITY; duration?: number; } export type { TickerHistoryForExport, TickerHistory as default };