public void Main() { var chef = new Chef(); var potato = new Potato(); chef.CheckIfPotatoIsReadyForCooking(potato); var cellVisitor = new VisitCells(); cellVisitor.VisitCell(); }
public static void Main(string[] args) { var cooker = new Cooker(); var potato = new Potato(); cooker.CheckIfPotatoIsReadyForCooking(potato); var cellVisitor = new VisitCells(); cellVisitor.VisitedCell(); }