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?

nevermind... new keyword is your friend

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.