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