Minor fix. Code rework

This commit is contained in:
2021-04-06 10:18:46 +03:00
parent 29d5676947
commit f7d2edaf86
3 changed files with 0 additions and 17 deletions
-8
View File
@@ -151,14 +151,6 @@ class StandingEnemy(Enemy):
self.image = random.choice(StandingEnemy.images[self.subtype-1])
# if self.subtype == 1: self.image = pygame.Surface((32, 96))
# elif self.subtype == 2: self.image = pygame.Surface((32, 64))
# elif self.subtype == 3: self.image = pygame.Surface((64, 64))
# elif self.subtype == 4: self.image = pygame.Surface((32, 32))
# elif self.subtype == 5: self.image = pygame.Surface((64, 32))
# else: self.image = pygame.Surface((96, 32))
# self.image.fill((0, 153, 0))
self.rect = self.image.get_rect()
self.height -= self.rect.height/2