From 24470dc80ecfd4b1218cf734cd7060aaaf8576b3 Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Thu, 16 Mar 2023 15:56:27 +0100 Subject: [PATCH] Delete Formation.ts --- .../Formation.ts | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 client/src/aic/aicformationdescriptorsection/Formation.ts diff --git a/client/src/aic/aicformationdescriptorsection/Formation.ts b/client/src/aic/aicformationdescriptorsection/Formation.ts deleted file mode 100644 index c77cb4be..00000000 --- a/client/src/aic/aicformationdescriptorsection/Formation.ts +++ /dev/null @@ -1,39 +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_Formation extends AICFormationDescriptorSection { - - label = "Formation"; - name = "formation"; - - constructor() { - - super(); - - } - - - generate( formation:AICFormation, contextData: AICFormationContextDataInterface ) { - - if ( !formation.showFormationNameInDescriptor() ) { - this.omitSection = true; - return this; - } - - let phrase = new AICFormationDescriptorPhrase(); - - phrase.addComponent( new AICFormationDescriptorComponent( formation.label, "Formation" ) ); - - phrase = formation.addToDescriptorPhrase( this, phrase, contextData ); - - this.addPhrase( phrase ); - - - return this; - - } - -} \ No newline at end of file