public void BakeCookie(ICookie cookie) { if (cookie.IsBurnt(OvenTemperature)) { cookie.SetCanEat(false); } else { cookie.SetCanEat(true); } }
public void BakeCookie(ICookie cookie) { if (cookie.IsBurnt(OvenTemperature)) { cookie.SetCanEat(false); } else { cookie.SetCanEat(true); } }