Ignore:
Timestamp:
09/04/13 22:06:37 (8 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Collision handlers get the protagonist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r247 r256  
    8484    def _collision_pre_solve_handler(self, space, arbiter):
    8585        gobj = arbiter.shapes[1].physicser.game_object
    86         result = gobj.collide_with_protagonist()
     86        result = gobj.collide_with_protagonist(self.protagonist)
    8787        # The collision handler must return `True` or `False`. We don't want to
    8888        # accidentally reject collisions from handlers that return `None`, so
Note: See TracChangeset for help on using the changeset viewer.