Changeset 322:a4e93b1086b8


Ignore:
Timestamp:
09/06/13 00:03:53 (8 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
66366236393635396437303562343638613539383932386535383237663163396234626537663731
Message:

Load all levels.

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/engine.py

    r285 r322  
    2323            'menu': MenuScreen,
    2424            'dead': PlayerDiedScreen,
    25             'level1': AreaScreen,
    26             'level2': AreaScreen,
    2725        }
     26        for area_name in AreaScreen.list_areas():
     27            self._screens[area_name] = AreaScreen
    2828        self._world.load()
    2929        self.change_screen('menu')
Note: See TracChangeset for help on using the changeset viewer.