X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fengine.py;fp=naja%2Fengine.py;h=a8e01460c8b345336f874f0c5fc104b7bda26289;hb=7d477cf85abea0402d0a41fe81d912a57a107e27;hp=1c6b70ac8a7917871edae10512acfc90e11b80d2;hpb=1e797f12e1130f04cd736d63e46efc81ed971ce3;p=naja.git diff --git a/naja/engine.py b/naja/engine.py index 1c6b70a..a8e0146 100644 --- a/naja/engine.py +++ b/naja/engine.py @@ -13,6 +13,7 @@ class Engine(object): def run(self): clock = pygame.time.Clock() while True: + self._surface.fill((0, 0, 0)) for ev in pygame.event.get(): if ev.type == pgl.QUIT or QuitGameEvent.matches(ev): self.quit_game()