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

Some refactoring and fixing, start of better collision handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/constants.py

    r176 r186  
    1919SWITCH_PUSHERS = [COLLISION_TYPE_PLAYER, COLLISION_TYPE_BOX]
    2020
     21CALLBACK_COLLIDERS = [
     22    # Collisions between the player and shapes with these collision types will
     23    # fire callbacks on the game object associated with the shape.
     24    COLLISION_TYPE_SWITCH,
     25    COLLISION_TYPE_BOX,
     26    COLLISION_TYPE_ENEMY,
     27    COLLISION_TYPE_DOOR,
     28]
     29
    2130ZORDER_FLOOR = 0
    2231ZORDER_LOW = 1
Note: See TracChangeset for help on using the changeset viewer.