summaryrefslogtreecommitdiff
path: root/src/sliceitoff/__main__.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-18 13:05:58 +0200
committerViljami Ilola <+@hix.fi>2024-03-18 13:05:58 +0200
commitb00fe8fe50392a75529864fe03399fa3a0976143 (patch)
tree4f61dbc5b771605984bb3c34d0b8a423c8a8c24c /src/sliceitoff/__main__.py
parent8781f3b04dff7434d302f7606cdcb0d2c1523cf8 (diff)
internal resolution x10. get rid of rest get_sprites functions
Diffstat (limited to 'src/sliceitoff/__main__.py')
-rw-r--r--src/sliceitoff/__main__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sliceitoff/__main__.py b/src/sliceitoff/__main__.py
index 5fc766b..2da9aa8 100644
--- a/src/sliceitoff/__main__.py
+++ b/src/sliceitoff/__main__.py
@@ -35,15 +35,15 @@ def sliceitoff():
while True:
dt = clock.tick(60)
- for fun in (status, field):
+ for fun in (status, field, enemies):
fun.update(dt)
-
+
display.update(
[
status.sprites,
field.sprites,
- enemies.get_sprites(),
- player.get_sprites()
+ enemies.sprites,
+ player.sprites
])
if game.step():