Alright so I have a class of Food items that contains the information for food, the information gets stored into a Customer Class that hold the information for the order of the customer. Ok so thats just an introduction for details. Each food item contains a status variable that tells the server whether the food item is being cooked, ready, etc. Unforutnately, if there are two customers who both ordered the same thing, when the cook changes the status of one item to "ready" both change because the orders where both set to the same class of Food that hold the information of the food items. Is there any way to make a new instance of that object for an specific customer?

9 Years
Discussion Span
Last Post by Daniel E
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.