import { Container } from "pixi.js" ; import { Event } from "@robotlegsjs/core" ; import { IViewHandler } from "../api/IViewHandler" ; private export class ViewManagerEvent extends Event { public static CONTAINER_ADD : string = "containerAdd" ; public static CONTAINER_REMOVE : string = "containerRemove" ; public static HANDLER_ADD : string = "handlerAdd" ; public static HANDLER_REMOVE : string = "handlerRemove" ; private _container : Container ; /**
     * The container associated with this event
     */ public get container ( ) : Container { return this . _container ; } private _handler : IViewHandler ; /**
     * The view handler associated with this event
     */ public get handler ( ) : IViewHandler { return this . _handler ; } param type param container param handler constructor ( type , container ? , handler ? ) { super ( type ) ; this . _container = container ; this . _handler = handler ; } inheritDoc public clone ( ) { return new ViewManagerEvent ( this . type , this . _container , this . _handler ) ; } }