Now only updates alpha when it has to. Much faster.

This commit is contained in:
Niels Serup
2012-08-09 12:43:18 +02:00
parent 6c90ec0f6b
commit 3d76f7fdbd
2 changed files with 11 additions and 10 deletions

View File

@@ -136,9 +136,3 @@ class Level3(level.Level):
def restart(self):
for obj in self.objects:
obj.reset_pos()
def infrange():
n = 0
while True:
yield n
n += 1