diff --git a/client/src/aic/aicformationdescriptorsection/Who.ts b/client/src/aic/aicformationdescriptorsection/Who.ts deleted file mode 100644 index 244b0558..00000000 --- a/client/src/aic/aicformationdescriptorsection/Who.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { AICFormation } from "../aicformation"; -import { AICFormationContextDataInterface } from "../aicformationdescriptor"; -import { AICFormationDescriptorSection } from "../aicformationdescriptorsection"; -import { AICFormationDescriptorComponent } from "../aicformationdescriptorcomponent"; -import { AICFormationDescriptorPhrase } from "../aicformationdescriptorphrase"; - -export class AICFormationDescriptorSection_Who extends AICFormationDescriptorSection { - - label = "Who"; - name = "who"; - - constructor() { - - super(); - - } - - - generate( formation:AICFormation, contextData: AICFormationContextDataInterface ) { - - let phrase = new AICFormationDescriptorPhrase(); - - if ( contextData.control === "tactical" ) { - phrase.addComponent( new AICFormationDescriptorComponent( "", "Their callsign" ) ); - } - - phrase.addComponent( new AICFormationDescriptorComponent( contextData.aicCallsign, "Your callsign" ) ); - - this.addPhrase( phrase ); - - return this; - - } - -} \ No newline at end of file