all repos — Legends-RPG @ c34273ecf367cfde3fa95f9181f1e4ca13095502

A fantasy mini-RPG built with Python and Pygame.

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

 1"""This is the castle state.  Most of its functionality is inherited
 2from the level_state.py module.  Most of the level data is contained
 3in the tilemap .txt files in this state's directory.  Essentially the
 4only purpose of castle.py is to assign dialogue to each sprite.
 5"""
 6
 7from .. import level_state
 8
 9class Castle(level_state.LevelState):
10    def __init__(self, name):
11        super(Castle, self).__init__(name)
12
13    def set_sprite_dialogue(self):
14        """Sets unique dialogue for each sprite"""
15        return None