commit ec2f55a9c13a6417c429b308151ee66eefb342e7 parent 062a4591a0a16ae1e3f868778971fd93a33e0daf Author: Erik Letson <hmagellan@hmagellan.com> Date: Wed, 19 Aug 2020 10:37:00 -0500 added tile skel Diffstat:
M | src/entity.py | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/entity.py b/src/entity.py @@ -20,3 +20,9 @@ class Entity(pygame.sprite.Sprite): if surface != None: surface.blit(self.image, self.rect) + +class Tile(Entity): + + def __init__(self, image, pos): + + super().__init__(image, pos)