コード例 #1
0
 public void ChangeState(IDoor door, ILight light, IHeater heater, IStartButton startButton, ITimer timer)
 {
     door.CloseDoor();
     light.TurnOffLight();
     heater.TurnOff();
     startButton.ButtonIsNotPressed();
     timer.Stop();
 }