Passing Cars to dispatcher


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by John on November 13, 2001 at 22:45:57:

Without giving away too much detail, I have a list of cars declared in my main cpp file that I want to pass to my Dispatcher class when the program ticks (so the tow trucks can check locations, perform actions, etc). Does this violate encapsulation?


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]