diff nagslang/game_object.py @ 563:a68951a9fe40

More Cargo bay.
author David Sharpe <decoydavid@gmail.com>
date Sat, 07 Sep 2013 22:26:53 +0200
parents 57efcd81647b
children 33f28f1cb0eb 6d2f6fcd914d
line wrap: on
line diff
--- a/nagslang/game_object.py	Sat Sep 07 22:15:56 2013 +0200
+++ b/nagslang/game_object.py	Sat Sep 07 22:26:53 2013 +0200
@@ -361,12 +361,12 @@
 
 class SokoBox(GameObject):
     def __init__(self, space, position):
-        body = make_body(1, pymunk.inf, position)
+        body = make_body(1, pymunk.inf, position, 0.2)
         self.shape = pymunk.Poly(
             body, [(-40, -40), (40, -40), (40, 40), (-40, 40)])
         self.shape.friction = 0.5
         self.shape.collision_type = COLLISION_TYPE_FURNITURE
-        super(Box, self).__init__(
+        super(SokoBox, self).__init__(
             SingleShapePhysicser(space, self.shape),
             render.ImageRenderer(
                 resources.get_image('objects', 'sokobox.png')),