Nächster Schritt fertig
This commit is contained in:
parent
d80e8391cb
commit
64cb1fa862
1 changed files with 3 additions and 1 deletions
|
|
@ -26,7 +26,9 @@ class Wall:
|
|||
pass
|
||||
|
||||
def render(self, surface: pygame.Surface):
|
||||
pass
|
||||
for row in self.grid:
|
||||
for wall_rect in row:
|
||||
surface.blit(self.game.assets["wall"], wall_rect)
|
||||
|
||||
def get_rect(self) -> pygame.Rect:
|
||||
return self.rect
|
||||
|
|
|
|||
Loading…
Reference in a new issue