예제 #1
0
 public void OpenEmergencyGate()
 {
     DamState.OpenEmergencyGate();
     DisplayState("Emergency gate openned for a moment");
 }
예제 #2
0
 public LowLevel(DamState damState) : this(damState.WaterLevel, damState.Dam)
 {
 }
예제 #3
0
 public void WaterDecreased(int howManyCentimeters)
 {
     DamState.WaterDecreased(howManyCentimeters);
     DisplayState("Water level decreased");
 }