UNPKG

@robotlegsjs/pixi

Version:
15 lines (14 loc) 361 B
import { IClass } from "@robotlegsjs/core"; import { DisplayObject } from "pixi.js"; /** * View handler contract */ export interface IViewHandler { /** * View handler method * * @param view The view instance to handle * @param type The class of the view instance */ handleView(view: DisplayObject, type: IClass<any>): void; }