all repos — Legends-RPG @ f2dca0d393a15a440a0a97993509345ca515d575

A fantasy mini-RPG built with Python and Pygame.

data/states/overworld/overworld.py (view raw)

 1"""This is overworld state.  Most of its functionality is inherited from
 2the level_state.py module.  Most of the level data is contained in
 3the tilemap.txt files in this state's directory.
 4"""
 5
 6from .. import level_state
 7from ... import constants as c
 8from ... import setup
 9
10class Overworld(level_state.LevelState):
11    def __init__(self):
12        super(Overworld, self).__init__()
13        self.name = c.OVERWORLD
14        self.tmx_map = setup.TMX['overworld']
15
16
17
18