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