garbageCan instantions #20

Merged
s473616 merged 5 commits from :master into master 2023-04-23 16:16:40 +02:00
Showing only changes of commit cf525c5c4b - Show all commits

View File

@ -27,7 +27,12 @@ class City:
def render_city(self, game_context: GameContext) -> None:
self._render_streets(game_context)
self._render_nodes(game_context)
def _render_streets(self, game_context: GameContext) -> None:
for street in self.streets:
street.render(game_context)
street.render(game_context)
def _render_nodes(self, game_context: GameContext) -> None:
for node in self.nodes:
node.render(game_context)