all repos — Legends-RPG @ b2c18e895bb4ebc85ad81e72dc2d57210b3e1da4

A fantasy mini-RPG built with Python and Pygame.

data/main.py (view raw)

 1__author__ = 'justinarmstrong'
 2
 3from . import setup, tools
 4from . states import town
 5from . import constants as c
 6
 7def main():
 8    """Add states to control here"""
 9    run_it = tools.Control(setup.ORIGINAL_CAPTION)
10    state_dict = {c.TOWN: town.Town()}
11
12    run_it.setup_states(state_dict, c.TOWN)
13    run_it.main()