예제 #1
0
 public Rare(Doneness state) : this(state.Temperature, state.Steak)
 {
 }
예제 #2
0
 public Steak(string beefCut)
 {
     this.beefCut = beefCut;
     state        = new Uncooked(0.0, this);
 }
예제 #3
0
 public Uncooked(Doneness state)
 {
     temperature = 0;
     steak       = state.Steak;
     Initialise();
 }
예제 #4
0
 public Medium(Doneness state) : this(state.Temperature, state.Steak)
 {
 }