import { Shape } from "../shape" ; import { MissionElementStaticShape } from "../parsing/mis_parser" ; /** A caution/danger sign. */ export class SignCaution extends Shape { dtsPath = "shapes/signs/cautionsign.dts" ; shareMaterials = false ; constructor ( element ) { super ( ) ; let type = element . datablock . slice ( "SignCaution" . length ) . toLowerCase ( ) ; switch ( type ) { case "caution" : this . matNamesOverride [ "base.cautionsign" ] = "caution.cautionsign" ; break ; case "danger" : this . matNamesOverride [ "base.cautionsign" ] = "danger.cautionsign" ; break ; } } }