Beispiel #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     waterTap = new WaterTap();
     knife    = new Knife();
     pan      = new Pan();
     stove    = new Stove();
     rice     = new Rice();
 }
Beispiel #2
0
 public void washRice(Rice r)
 {
     if (r.isDirty)
     {
         r.isDirty = false;
         r.wInRice = 10;
     }
 }