public Cold(HeatingLevel state) { currentTemp = state.CurrentTemp; WaterBoiler = state.WaterBoiler; }
public Warm(HeatingLevel state) : this(state.CurrentTemp, state.WaterBoiler) { }
public WaterBoiler() { _state = new Warm(0, this); }