public void Initialize(BodyPart.PartInfo info) { LoadInjuryStrings(); Color color = DeterminePartColor(info.severityLevel); ChangeColor(color); injuries = info.injuryLog; //should hold a ref so list will update itself }
public BodyPart.PartInfo[] GetBodyParts() { BodyPart.PartInfo[] info = new BodyPart.PartInfo[bodyParts.Count]; for (int i = 0; i < bodyParts.Count; i++) { info[i] = bodyParts[i].PackagePartInfo(); } return(info); }