This commit is contained in:
p57492168 2022-06-23 14:05:03 +08:00
parent c4f6eade52
commit e1516ba2d4
1 changed files with 0 additions and 1 deletions

View File

@ -226,7 +226,6 @@ class SeaEnvEngine(object):
self._ship_charging_time_left = [0 for _ in range(self.ship_num)] self._ship_charging_time_left = [0 for _ in range(self.ship_num)]
def create_rectangle_obstacle(self, x, y, width, height): def create_rectangle_obstacle(self, x, y, width, height):
# points = [(0, 0), (0, height), (width, height), (width, 0)]
points = [(-width/2, -height/2), (-width/2, height/2), points = [(-width/2, -height/2), (-width/2, height/2),
(width/2, height/2), (width/2, -height/2)] (width/2, height/2), (width/2, -height/2)]
# points = [(-width, -height), (-width, 0), (0, 0), (0, -height)] # points = [(-width, -height), (-width, 0), (0, 0), (0, -height)]