UNPKG

@drincs/pixi-vn

Version:

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

30 lines (27 loc) 911 B
import { TickerCallback, UPDATE_PRIORITY } from 'pixi.js'; import { a as TickerArgsType } from '../TickerBase-3rLpDpmb.js'; import { TickerIdType } from '../types/TickerIdType.js'; import '../types/StorageElementType.js'; /** * 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 };