projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e797f1
)
Blank the screen on each frame
author
Stefano Rivera
<stefano@rivera.za.net>
Sun, 11 May 2014 16:17:28 +0000
(18:17 +0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Sun, 11 May 2014 16:17:28 +0000
(18:17 +0200)
naja/engine.py
patch
|
blob
|
history
diff --git
a/naja/engine.py
b/naja/engine.py
index 1c6b70ac8a7917871edae10512acfc90e11b80d2..a8e01460c8b345336f874f0c5fc104b7bda26289 100644
(file)
--- 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()