UNPKG

@robotlegsjs/phaser

Version:

RobotlegsJS integration with Phaser Scene Manager

14 lines (13 loc) 367 B
import { IClass } from "@robotlegsjs/core"; /** * Scene handler contract */ export interface IViewHandler { /** * View handler method * * @param view The view (Phaser.GameObjects.Container) instance to handle * @param type The class of the view instance */ handleView(view: Phaser.GameObjects.Container, type: IClass<any>): void; }