Ignore:
Timestamp:
09/01/13 20:53:37 (8 years ago)
Author:
davidsharpe@…
Branch:
default
Phase:
public
Message:

Floor switch with horrible hackery.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/protagonist.py

    r76 r81  
    22import pymunk.pygame_util
    33
     4from nagslang.constants import COLLISION_TYPE_PLAYER
    45from nagslang.game_object import (
    56    GameObject, SingleShapePhysicser, FacingImageRenderer)
     
    3637        self.shape.elasticity = 1.0
    3738        self.shape.friction = 10.0
     39        self.shape.collision_type = COLLISION_TYPE_PLAYER
    3840
    3941    def _get_image(self, name, *transforms):
Note: See TracChangeset for help on using the changeset viewer.