summaryrefslogtreecommitdiff
path: root/src/sliceitoff/main.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-16 20:30:32 +0200
committerViljami Ilola <+@hix.fi>2024-03-16 20:30:32 +0200
commit3959cfd0c0cab47f863ea5672350ad280b4b7773 (patch)
tree1aff8e0cad45be393802774b4c011468c8cfc161 /src/sliceitoff/main.py
parent6a9f8ab2b47ab9dd19b7ae0e507c16bb919de975 (diff)
field remove
Diffstat (limited to 'src/sliceitoff/main.py')
-rw-r--r--src/sliceitoff/main.py4
1 files changed, 2 insertions, 2 deletions
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)