public Component_Skeleton() : base(EntityAttributeType.SPEED) { this.bodyParts = new Dictionary <BodyPartLocation, Entity>(); // Not technically required, as these will default initialize to false this.IsHeadDestroyed = false; this.IsTorsoDestroyed = false; foreach (var bp in MechTemplate.Keys) { this.bodyParts[bp] = EntityBuilder.BuildBodyPart(bp, MechTemplate[bp], MechTemplate[bp]); } }