Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 14x 4x 4x 4x 4x 4x 4x 4x | import { DifficultyEnum, ResultEnum } from "./enums";
import { Scenario } from "./scenario";
import { ModularSet } from "./modular-set";
import { Hero } from "./hero";
export interface EncounterInterface {
id: number | null;
scenario: Scenario;
modularSets: ModularSet[] | null;
difficulty: DifficultyEnum;
heroes: Hero[];
result: ResultEnum;
date?: Date;
}
export class Encounter implements EncounterInterface {
public id: number | null;
public scenario: Scenario;
public modularSets: ModularSet[] | null;
public difficulty: DifficultyEnum;
public heroes: Hero[];
public result: ResultEnum;
public date?: Date;
public constructor(data: EncounterInterface) {
this.id = data.id;
this.scenario = data.scenario;
this.modularSets = data.modularSets;
this.difficulty = data.difficulty;
this.heroes = data.heroes;
this.result = data.result;
this.date = data.date;
}
}
|