This commit is contained in:
p57492168 2022-06-22 23:01:47 +08:00
parent 83d82d86b9
commit f0405180f6
1 changed files with 1 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class SeaEnvEngine(object):
self.max_angle, self.min_angle = None, None
self.crashed = False
self.finished = False
self.terminate = False
@ -100,7 +100,6 @@ class SeaEnvEngine(object):
self.ship_img = pygame.transform.scale(
self.ship_img, (self.ship_radius * 4, self.ship_radius * 4))
""" 2. init gymunk """
# physics stuff
self.space = pymunk.Space()
self.space.gravity = pymunk.Vec2d(0., 0.)
# create bounds