diff options
Diffstat (limited to 'src/sliceitoff/main.py')
-rw-r--r-- | src/sliceitoff/main.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sliceitoff/main.py b/src/sliceitoff/main.py index 1e84d28..966f3a1 100644 --- a/src/sliceitoff/main.py +++ b/src/sliceitoff/main.py @@ -6,6 +6,7 @@ from display import Display from status import Status from player import Player from field import Field +from enemies import Enemies from images import Images from game import Game @@ -19,20 +20,22 @@ def main(): status = Status() field = Field() player = Player(field = field) + enemies = Enemies(field = field, level = 2) game = Game(player=player) clock = pygame.time.Clock() - for _ in range(600): + for _ in range(6000): if game.step(): break display.update( [ status.get_sprites(), field.get_sprites(), + enemies.get_sprites(), player.get_sprites() ]) - clock.tick(60) + clock.tick(120) sleep(2) |