Ignore:
Timestamp:
09/03/13 14:58:45 (9 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
36616364363066663031393763616436626334636264353230353363646637376262616364306264
Message:

Add DoorEvent and tweak ScreenChange to keep more state when the player goes through a door

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/base.py

    r37 r180  
    77class Screen(object):
    88
    9     def __init__(self, name, world):
     9    def __init__(self, name, player, world):
    1010        self.name = name
    1111        self.world = world
     12        self.protagonist = player
    1213        self.space = pymunk.Space()
    1314
Note: See TracChangeset for help on using the changeset viewer.