Changeset 563:a68951a9fe40 for nagslang


Ignore:
Timestamp:
Sep 7, 2013, 8:26:53 PM (7 years ago)
Author:
David Sharpe <decoydavid@…>
Branch:
default
Children:
564:7d8a44ef06b8, 584:6d2f6fcd914d
Message:

More Cargo bay.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/game_object.py

    r560 r563  
    362362class SokoBox(GameObject):
    363363    def __init__(self, space, position):
    364         body = make_body(1, pymunk.inf, position)
     364        body = make_body(1, pymunk.inf, position, 0.2)
    365365        self.shape = pymunk.Poly(
    366366            body, [(-40, -40), (40, -40), (40, 40), (-40, 40)])
    367367        self.shape.friction = 0.5
    368368        self.shape.collision_type = COLLISION_TYPE_FURNITURE
    369         super(Box, self).__init__(
     369        super(SokoBox, self).__init__(
    370370            SingleShapePhysicser(space, self.shape),
    371371            render.ImageRenderer(
Note: See TracChangeset for help on using the changeset viewer.