Ignore:
Timestamp:
09/05/13 23:48:59 (9 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

BOX is no longer accurate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/game_object.py

    r313 r318  
    1010from nagslang.mutators import FLIP_H
    1111from nagslang.constants import (
    12     SWITCH_PUSHERS, COLLISION_TYPE_SWITCH, COLLISION_TYPE_BOX, ZORDER_LOW,
    13     ZORDER_FLOOR, COLLISION_TYPE_DOOR, COLLISION_TYPE_PROJECTILE,
    14     COLLISION_TYPE_WEREWOLF_ATTACK)
     12    COLLISION_TYPE_DOOR, COLLISION_TYPE_FURNITURE, COLLISION_TYPE_PROJECTILE,
     13    COLLISION_TYPE_SWITCH, COLLISION_TYPE_WEREWOLF_ATTACK,
     14    SWITCH_PUSHERS, ZORDER_FLOOR, ZORDER_LOW)
    1515from nagslang.resources import resources
    1616from nagslang.events import DoorEvent
     
    240240            body, [(-20, -20), (20, -20), (20, 20), (-20, 20)])
    241241        self.shape.friction = 0.5
    242         self.shape.collision_type = COLLISION_TYPE_BOX
     242        self.shape.collision_type = COLLISION_TYPE_FURNITURE
    243243        super(Box, self).__init__(
    244244            SingleShapePhysicser(space, self.shape),
Note: See TracChangeset for help on using the changeset viewer.