Mercurial > pyntnclick
view gamelib/main.py @ 763:afe7b1cb16c0 pyntnclick
Interacts should get their images through the game's resource module
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 26 Jan 2013 13:24:01 +0200 |
parents | ef4bda7d623d |
children | bdaffaa8b6bf |
line wrap: on
line source
import scenes from constants import SSConstants from menu import MenuScreen from endscreen import EndScreen from ss_state import SSState 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 game_state(self): return SSState() def game_constants(self): return SSConstants() def main(): ss = SuspendedSentence() return ss.main()