mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
40 lines
878 B
TypeScript
40 lines
878 B
TypeScript
import { AICFormation } from "./aicformation";
|
|
import { AICFormationContextDataInterface } from "./aicformationdescriptor";
|
|
import { AICFormationDescriptorPhrase } from "./aicformationdescriptorphrase";
|
|
|
|
export interface AICFormationDescriptorSectionInterface {
|
|
"generate" : CallableFunction,
|
|
"label" : string,
|
|
"name" : string,
|
|
"omitSection" : boolean
|
|
}
|
|
|
|
export abstract class AICFormationDescriptorSection {
|
|
|
|
#phrases : AICFormationDescriptorPhrase[] = [];
|
|
label = "";
|
|
name = "";
|
|
omitSection = false;
|
|
|
|
constructor() {
|
|
}
|
|
|
|
|
|
addPhrase( phrase:AICFormationDescriptorPhrase ) {
|
|
this.#phrases.push( phrase );
|
|
}
|
|
|
|
|
|
generate( formation:AICFormation, contextData: AICFormationContextDataInterface ) {
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
getPhrases() {
|
|
return this.#phrases;
|
|
}
|
|
|
|
|
|
} |