Your BusRender class is going to have to render all of the routes. I'd recommend moving all of your route data into a separate Object that knows how to draw itself. Then from your BusRender class you...
Type: Posts; User: KevinWorkman
Your BusRender class is going to have to render all of the routes. I'd recommend moving all of your route data into a separate Object that knows how to draw itself. Then from your BusRender class you...
If you know how to update and draw one thing, then the logic for updating and drawing multiple things is the same. Just iterate over a list of things and do the updating and drawing to each thing. No...
Recommended reading: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)