UNPKG

@firestone-hs/replay-parser

Version:

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

17 lines (16 loc) 897 B
import { Map } from 'immutable'; import { Action } from '../../../models/action/action'; import { Entity } from '../../../models/game/entity'; import { PlayerEntity } from '../../../models/game/player-entity'; import { HistoryItem } from '../../../models/history/history-item'; import { FullEntityHistoryItem } from '../../../models/models'; import { AllCardsService } from '../../all-cards.service'; import { Parser } from '../parser'; export declare class BaconOpponentRevealedParser implements Parser { private allCards; constructor(allCards: AllCardsService); applies(item: HistoryItem): boolean; parse(item: FullEntityHistoryItem, currentTurn: number, entitiesBeforeAction: Map<number, Entity>, history: readonly HistoryItem[], players: readonly PlayerEntity[]): Action[]; reduce(actions: readonly Action[]): readonly Action[]; private mergeActions; }