all repos — Legends-RPG @ 5dc45a6a3236bb0f37cda02f65aecb54b0e7212e

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
 8
 9class Overworld(level_state.LevelState):
10    def __init__(self):
11        super(Overworld, self).__init__()
12        self.name = c.OVERWORLD
13        self.map_width = 30
14        self.map_height = 37
15
16
17