Ejemplo n.º 1
0
        public MedicalState createFromPreset(PresetState preset)
        {
            MedicalState state = new MedicalState(preset.Name);

            state.update();
            preset.applyToState(state);
            return(state);
        }
 public void removeSubState(PresetState state)
 {
     subStates.Remove(state);
 }
 public void addSubState(PresetState state)
 {
     subStates.Add(state);
 }