all repos — Legends-RPG @ d9c581e5d018bd9cee12f2fb8723f65375a79347

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