This commit is contained in:
p57492168 2022-07-04 14:17:40 +08:00
parent b784b7fc2a
commit 3054fcfd10
1 changed files with 1 additions and 2 deletions

View File

@ -363,7 +363,7 @@ class SeaEnvEngine(object):
else:
self.ship_body[ship_id].velocity = 0.0 * driving_direction
if self.draw_screen:
# self.screen.fill(THECOLORS["black"])
self.screen.blit(self.ss_img, (0, 0))
@ -377,7 +377,6 @@ class SeaEnvEngine(object):
self.field_size[1] * j
# the size of your rect
s = pygame.Surface(self.field_size)
# alpha level
s.set_alpha(int(96 * self.fields[i, j]))
# this fills the entire surface
color = COLORS[int(self._splited_areas[i, j] - 1)]