import { CardsFacadeService } from '@services/cards-facade.service' ; import { GameEvent } from '../../../../../models/game-event' ; import { DamageGameEvent } from '../../../../../models/mainwindow/game-events/damage-game-event' ; import { RealTimeStatsState } from '../real-time-stats' ; import { EventParser } from './_event-parser' ; export class RTStatsTotalDamageTakenByHeroesParser implements EventParser { constructor ( private readonly allCards ) { } applies ( gameEvent , currentState ) { return false ; return gameEvent . type === GameEvent . DAMAGE ; } parse ( gameEvent , currentState ) { return currentState ; } name ( ) { return 'RTStatsTotalDamageTakenByHeroesParser' ; } }