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