Refactoring

This commit is contained in:
2026-03-29 23:23:33 +02:00
parent 43d61fcf16
commit 8a602bd2db
124 changed files with 1313 additions and 758 deletions
@@ -4,9 +4,9 @@ import { MatCardModule } from '@angular/material/card';
import { MatDividerModule } from '@angular/material/divider';
import { MatIconModule } from '@angular/material/icon';
import { FortificationCardContentComponent } from 'src/app/components/shared';
//import { HWMember } from 'src/app/core/models';
import { HWGuildWarFortification, HWGuildWarHeroTeam, HWGuildWarSlots, HWGuildWarTitanTeam, HWMember } from 'src/app/core/models';
import { FortificationCardContentComponent } from '@components/shared';
//import { HWMember } from '@models';
import { HWGuildWarFortification, HWGuildWarHeroTeam, HWGuildWarSlots, HWGuildWarTitanTeam, HWMember } from '@models';
/* JSON data */
import guildWarData from 'src/files-data/hw-guild-war.json'; // page Overview -> Statistics | page Guild War -> Guild War
@@ -170,17 +170,17 @@ export class GuildwarDefenceComponent implements OnInit {
}
getGatesOfNature(): HWGuildWarFortification {
const indexes: number[] = [4, 9, 14, 19];
const indexes: number[] = [5, 10, 15, 16];
return this._getFortification(indexes, 'titans', 'Gates Of Nature');
}
getBastionOfFire(): HWGuildWarFortification {
const indexes: number[] = [5, 10, 15, 16];
const indexes: number[] = [6, 11, 12, 17];
return this._getFortification(indexes, 'titans', 'Bastion Of Fire');
}
getBastionOfIce(): HWGuildWarFortification {
const indexes: number[] = [6, 11, 12, 17];
const indexes: number[] = [4, 9, 14, 19];
return this._getFortification(indexes, 'titans', 'Bastion Of Ice');
}