internal void CleanRoom(Suite suite) { // we cant set directly isClean parameters therefore we use isClean function that change //the value of the parameter. the if check that the room clean. if (!suite.isClean()) { suite.isClean(); } Console.WriteLine($"{suite.GetFeatures()} is clean now"); }
internal void CleanRoom(Suite suite) { suite.SetIsClean(true); Console.WriteLine($"{suite.GetFeatures()} have been cleaned"); }
internal void CleanRoom(Suite suite) { suite.SetClean(true); Console.WriteLine(suite.GetFeatures() + " were cleaned"); }
internal void CleanRoom(Suite room) { room.SetIsClean = true; Console.WriteLine($"{room.GetFeatures()} was cleaned!!"); }