Minor style fixes

This commit is contained in:
2021-04-08 09:11:58 +03:00
parent c88f09405d
commit 306b564ac2
3 changed files with 1 additions and 2 deletions
+1
View File
@@ -58,6 +58,7 @@ class Drakora():
self.speedUp() self.speedUp()
self.speedUpLabelCD = self.targetFps self.speedUpLabelCD = self.targetFps
def getFont(self): def getFont(self):
return self.font return self.font
-1
View File
@@ -145,7 +145,6 @@ class EndSceen():
self.fontLeaderBoard, (255, 255, 255), self.fontLeaderBoard, (255, 255, 255),
(self.game.getScreenWidth()/2,100 + j*50)) (self.game.getScreenWidth()/2,100 + j*50))
self.renderText(' {0:>3} {1:^10} {2:>6} {3:>8} '.format( self.renderText(' {0:>3} {1:^10} {2:>6} {3:>8} '.format(
'..','.....', '..', '.....' '..','.....', '..', '.....'
), ),
-1
View File
@@ -147,7 +147,6 @@ class StandingEnemy(Enemy):
for image in array: for image in array:
image.set_colorkey((255,0,255)) image.set_colorkey((255,0,255))
self.subtype = random.randint(0, len(StandingEnemy.images) - 1) self.subtype = random.randint(0, len(StandingEnemy.images) - 1)
self.image = random.choice(StandingEnemy.images[self.subtype]) self.image = random.choice(StandingEnemy.images[self.subtype])