This commit is contained in:
p57492168 2022-07-04 14:15:30 +08:00
parent a41ce5d9ac
commit bb7460129b
1 changed files with 2 additions and 2 deletions

View File

@ -274,7 +274,7 @@ class SeaEnvEngine(object):
self._ship_charging[ship_id] = False
self._ship_charging_time_left[ship_id] = 0
self.ship_body[ship_id].angle = np.pi
elif action == RIGHT:
elif action == RIGHT:
self._ship_charging[ship_id] = False
self._ship_charging_time_left[ship_id] = 0
self.ship_body[ship_id].angle = 0.0
@ -363,7 +363,7 @@ class SeaEnvEngine(object):
else:
self.ship_body[ship_id].velocity = 0.0 * driving_direction
# Update the screen and stuff
# Update the screen
if self.draw_screen:
# self.screen.fill(THECOLORS["black"])
self.screen.blit(self.ss_img, (0, 0))