garbageCan instantions #20
7
city.py
7
city.py
@ -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)
|
Loading…
Reference in New Issue
Block a user