all repos — Legends-RPG @ 1468db2538cd810757a76ae20fce0a306f457744

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 = 25
14        self.map_height = 29
15
16
17