UNPKG

@drincs/pixi-vn

Version:

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

19 lines (16 loc) 583 B
import { SpriteOptions } from 'pixi.js'; import { EventIdType } from '../../types/EventIdType.js'; import ICanvasBaseMemory from './ICanvasBaseMemory.js'; import ITextureMemory from './ITextureMemory.js'; interface ICanvasSpriteBaseMemory extends SpriteOptions, ICanvasBaseMemory { textureImage: ITextureMemory; onEvents: { [name: CanvasEventNamesType]: EventIdType; }; } /** * Interface for the canvas sprite memory */ interface ICanvasSpriteMemory extends ICanvasSpriteBaseMemory { } export type { ICanvasSpriteBaseMemory, ICanvasSpriteMemory as default };