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