Ignore:
Timestamp:
09/01/13 15:06:06 (8 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
64653134306534303664626663323464396434623235626336396239666236353836613932373734
Message:

Give screens a name and a world.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/base.py

    r34 r37  
    77class Screen(object):
    88
    9     def __init__(self):
     9    def __init__(self, name, world):
     10        self.name = name
     11        self.world = world
    1012        self.space = pymunk.Space()
    1113
    12     def setup(self, world):
     14    def setup(self):
    1315        """Perform setup based on the world state."""
    1416        pass
Note: See TracChangeset for help on using the changeset viewer.