class ModalCollection {
  createOverlay: CreateOverlayModal;
  cancel: CancelModal;
  okCancel: OKCancelModal;
  info: InfoModal;
  overlayMgr: OverlayManagementModal;
  
  constructor(
    createOverlay: CreateOverlayModal,
    cancel: CancelModal,
    okCancel: OKCancelModal,
    info: InfoModal,
    overlayMgr: OverlayManagementModal
  ) {
    this.createOverlay = createOverlay;
    this.cancel = cancel;
    this.okCancel = okCancel;
    this.info = info;
    this.overlayMgr = overlayMgr;
  }
  
  closeAll(): void {
    this.createOverlay.setVisible(false);
    this.cancel.setVisible(false);
    this.okCancel.setVisible(false);
    this.overlayMgr.setVisible(false);
  }
}