all repos — Legends-RPG @ a55164ece8c0aeea2d6fcc25cf11f80345134f11

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