UNPKG

@firestone-hs/replay-parser

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.9.

25 lines (24 loc) 1.16 kB
import { Map } from 'immutable'; import { Entity } from '../../models/game/entity'; import { Game } from '../../models/game/game'; import { HistoryItem } from '../../models/history/history-item'; import { ActionParserConfig } from '../../models/models'; import { AllCardsService } from '../all-cards.service'; import { StateProcessorService } from '../state-processor.service'; import * as i0 from "@angular/core"; export declare class ActionParserService { private allCards; private stateProcessorService; constructor(allCards: AllCardsService, stateProcessorService: StateProcessorService); private registerActionParsers; parseActions(game: Game, entities: Map<number, Entity>, history: readonly HistoryItem[], config?: ActionParserConfig, debug?: boolean): Game; private updateActionsForTurn; private fillMissingEntities; private addDamageToEntities; private updateDamageForEntity; private reduceActions; private sortActions; private areEqual; static ɵfac: i0.ɵɵFactoryDeclaration<ActionParserService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ActionParserService>; }