@robotlegsjs/pixi
Version:
PIXI View Integration with RobotlegsJS
15 lines (14 loc) • 361 B
TypeScript
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;
}