mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
40 lines
866 B
TypeScript
40 lines
866 B
TypeScript
import { AICFormation } from "./aicformation";
|
|
import { AICFormationContextDataInterface } from "./aicformationdescriptor";
|
|
import { AICFormationDescriptorComponent } from "./aicformationdescriptorcomponent";
|
|
|
|
export interface AICFormationDescriptorPhraseInterface {
|
|
"generate" : CallableFunction,
|
|
"label" : string,
|
|
"name" : string
|
|
}
|
|
|
|
export class AICFormationDescriptorPhrase {
|
|
|
|
#components : AICFormationDescriptorComponent[] = [];
|
|
label = "";
|
|
name = "";
|
|
|
|
constructor() {
|
|
}
|
|
|
|
|
|
addComponent( component:AICFormationDescriptorComponent ) {
|
|
this.#components.push( component );
|
|
return this;
|
|
}
|
|
|
|
|
|
|
|
getComponents() {
|
|
return this.#components;
|
|
}
|
|
|
|
|
|
generate( formation:AICFormation, contextData: AICFormationContextDataInterface ) {
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
} |