The RoadManager class's name isn't arbitrary: it manages all the obstacles on the road.
It must know how to draw and move all the stored objects.
In the RacerGame class, create a RoadManager roadManager field so you can access it.
Initialize the roadManager field in createGame(), and call draw(Gam
Racer (Part 13/28)
- 3
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Hendrik
2 July 2020, 22:06
Warum funktionieren die zwei letzten Kriterien nicht?
+1