diff --git a/src/app/games/massive-darkness2/MD2Base.ts b/src/app/games/massive-darkness2/MD2Base.ts index aead4c8..6871373 100644 --- a/src/app/games/massive-darkness2/MD2Base.ts +++ b/src/app/games/massive-darkness2/MD2Base.ts @@ -2,7 +2,7 @@ import { ChangeDetectorRef, Injectable } from "@angular/core"; import { ActivatedRoute } from "@angular/router"; import { Subject } from "rxjs"; import { first, takeUntil } from "rxjs/operators"; -import { MD2GameInfo, MD2Service } from "../../services/md2.service"; +import { MD2GameInfo, MD2Service } from "../../services/MD2/md2.service"; import { SignalRMessage } from "../../services/signal-r.service"; import { StateService } from "../../services/state.service"; import { ADIcon, MessageBoxConfig } from "../../ui/alert-dlg/alert-dlg.model"; @@ -55,14 +55,14 @@ export abstract class MD2Base { } imgUrl(imgPath: string) { - return this.md2Service.imgUrl(imgPath); + return this.md2Service.stateService.imgUrl(imgPath); } fileList(folderPath: string) { return this.md2Service.fileList(folderPath); } iconHtml(icon: MD2Icon, cssClass = '') { - return this.md2Service.iconHtml(icon, cssClass); + return this.md2Service.stateService.iconHtml(icon, cssClass); } imgHtml(imgFile: string, cssClass = '') { @@ -218,13 +218,13 @@ export abstract class MD2ComponentBase { this.destroy$.complete(); } imgUrl(imgPath: string) { - return this.md2Service.imgUrl(imgPath); + return this.md2Service.stateService.imgUrl(imgPath); } fileList(folderPath: string) { return this.md2Service.fileList(folderPath); } iconHtml(icon: MD2Icon, cssClass = '') { - return this.md2Service.iconHtml(icon, cssClass); + return this.md2Service.stateService.iconHtml(icon, cssClass); } } \ No newline at end of file diff --git a/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.html b/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.html index dcbcd69..9a758fc 100644 --- a/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.html +++ b/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.html @@ -16,6 +16,10 @@ + + + + diff --git a/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.ts b/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.ts index d186c5a..38bafe7 100644 --- a/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.ts +++ b/src/app/games/massive-darkness2/boss-fight/boss-activation/boss-activation.component.ts @@ -1,7 +1,7 @@ import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { NbDialogRef } from '@nebular/theme'; -import { MD2Service } from '../../../../services/md2.service'; +import { MD2Service } from '../../../../services/MD2/md2.service'; import { MsgBoxService } from '../../../../services/msg-box.service'; import { StateService } from '../../../../services/state.service'; import { MobDlgType, MD2Icon, MD2HeroInfo } from '../../massive-darkness2.model'; diff --git a/src/app/games/massive-darkness2/boss-fight/boss-fight.component.html b/src/app/games/massive-darkness2/boss-fight/boss-fight.component.html index 52fd653..5a57960 100644 --- a/src/app/games/massive-darkness2/boss-fight/boss-fight.component.html +++ b/src/app/games/massive-darkness2/boss-fight/boss-fight.component.html @@ -17,10 +17,10 @@ - -