From d3ad071d84f7ee2ed223152b7745a21e4fb4d5d6 Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Thu, 16 Mar 2023 15:56:53 +0100 Subject: [PATCH] Delete AICFormation.ts --- client/src/aic/AICFormation.ts | 54 ---------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 client/src/aic/AICFormation.ts diff --git a/client/src/aic/AICFormation.ts b/client/src/aic/AICFormation.ts deleted file mode 100644 index 588f4326..00000000 --- a/client/src/aic/AICFormation.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { AICFormationContextDataInterface, AICFormationDescriptor } from "./aicformationdescriptor"; -import { AICFormationDescriptorPhrase } from "./aicformationdescriptorphrase"; -import { AICFormationDescriptorSection } from "./aicformationdescriptorsection"; - -export interface AICFormationInterface { - "icon" : string, - "label" : string, - "name" : string, - "numGroups" : number, - "summary" : string, - "unitBreakdown" : string[] -} - - - -export abstract class AICFormation { - - "icon" = ""; - "label" = ""; - "name" = ""; - "numGroups" = 1; - "summary" = ""; - "unitBreakdown":string[] = [] - - - constructor() { - - this.unitBreakdown = []; - } - - - addToDescriptorPhrase( section: AICFormationDescriptorSection, phrase: AICFormationDescriptorPhrase, contextData: AICFormationContextDataInterface ) { - return phrase; - } - - - getDescriptor( contextData: AICFormationContextDataInterface ) { - - return new AICFormationDescriptor().generate( this, contextData ); - - } - - - hasUnitBreakdown() { - return this.unitBreakdown.length > 0; - } - - - showFormationNameInDescriptor() { - return true; - } - - -} \ No newline at end of file