Ignore:
Timestamp:
09/06/13 10:59:51 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

Resume from the previous level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/world.py

    r307 r342  
    88import pymunk
    99
     10from nagslang.level import Level
     11from nagslang.protagonist import Protagonist
    1012from nagslang.yamlish import dump, load
    11 from nagslang.protagonist import Protagonist
    1213
    1314
     
    2324        self.rooms = 0
    2425        self.protagonist = Protagonist(pymunk.Space(), self, (350, 300))
     26        first_level = Level.list_levels()[0]
     27        self.level = first_level
    2528
    2629    def _save_location(self):
Note: See TracChangeset for help on using the changeset viewer.