Mercurial > pyntnclick
view gamelib/main.py @ 630:a5f573002fb0 pyntnclick
Pass rect around (we're going to be doing this alot).
author | Simon Cross <hodgestar+bzr@gmail.com> |
---|---|
date | Sat, 11 Feb 2012 22:20:52 +0200 |
parents | 974cc69d3762 |
children | c77d6aa29bee |
line wrap: on
line source
import scenes from menu import MenuScreen from endscreen import EndScreen from pyntnclick.main import GameDescription class SuspendedSentence(GameDescription): INITIAL_SCENE = scenes.INITIAL_SCENE SCENE_LIST = scenes.SCENE_LIST SCREENS = { 'menu': MenuScreen, 'end': EndScreen, } START_SCREEN = 'menu' def main(): ss = SuspendedSentence() return ss.main()