forked from SeAIPalette/SeAIPalette
This commit is contained in:
parent
b784b7fc2a
commit
3054fcfd10
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue