feat: implement stack

This commit is contained in:
Giovani
2021-06-08 16:09:21 -04:00
parent 00627bf892
commit 9b442a44ee
6 changed files with 33 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ class Entity:
pass
def draw(self, surface: pygame.Surface) -> None:
tile_size = ConfigurationManager.configuration["engine"]["tile-size"]
tile_size = ConfigurationManager.configuration["engine"]["tile-size"]
for square in self.points:
pygame.draw.polygon(surface, pygame.Color(self.color), square, 0)