diff options
Diffstat (limited to 'src/sliceitoff/field/field.py')
-rw-r--r-- | src/sliceitoff/field/field.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/sliceitoff/field/field.py b/src/sliceitoff/field/field.py index c89ecdf..a6084f1 100644 --- a/src/sliceitoff/field/field.py +++ b/src/sliceitoff/field/field.py @@ -13,7 +13,6 @@ class FieldSprite(pygame.sprite.Sprite): self.image.fill("green") - class Field(): def __init__(self): self.sprites = pygame.sprite.Group() @@ -67,11 +66,7 @@ class Field(): if y4 > y3: self.sprites.add(FieldSprite( (ax, y3, aw, y4-y3) )) return Scaling.area_to_rect((ax, y2, aw, y3-y2)) - - - def get_sprites(self) -> pygame.sprite.Group: - return self.sprites - def __del__(self): + def update(self, dt): pass
\ No newline at end of file |