public void ChangeState(IDoor door, ILight light, IHeater heater, IStartButton startButton, ITimer timer)
 {
     door.CloseDoor();
     light.TurnOnLight();
     heater.TurnOn();
     startButton.ButtonIsPressed();
     timer.Start();
 }
 public void ChangeState(IDoor door, ILight light, IHeater heater, IStartButton startButton, ITimer timer)
 {
     door.OpenDoor();
     light.TurnOnLight();
     heater.TurnOff();
     startButton.ButtonIsNotPressed();
     timer.Stop();
 }