From 3959cfd0c0cab47f863ea5672350ad280b4b7773 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 16 Mar 2024 20:30:32 +0200 Subject: field remove --- src/sliceitoff/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/main.py') diff --git a/src/sliceitoff/main.py b/src/sliceitoff/main.py index 966f3a1..529fcaa 100644 --- a/src/sliceitoff/main.py +++ b/src/sliceitoff/main.py @@ -19,8 +19,8 @@ def main(): status = Status() field = Field() - player = Player(field = field) enemies = Enemies(field = field, level = 2) + player = Player(field = field, enemies = enemies) game = Game(player=player) clock = pygame.time.Clock() @@ -35,7 +35,7 @@ def main(): enemies.get_sprites(), player.get_sprites() ]) - clock.tick(120) + clock.tick(60) sleep(2) -- cgit v1.2.3