comparison gamelib/main.py @ 854:3577c51029f1 default tip

Remove Suspended Sentence. pyntnclick is the library we extracted from it
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 21 Jun 2014 22:15:54 +0200
parents f95830b58336
children
comparison
equal deleted inserted replaced
853:f95830b58336 854:3577c51029f1
1 import scenes
2
3 from constants import SSConstants
4 from menu import SSMenuScreen
5 from endscreen import EndScreen
6 from ss_state import SSState
7
8 from pyntnclick.main import GameDescription
9
10
11 class SuspendedSentence(GameDescription):
12
13 INITIAL_SCENE = scenes.INITIAL_SCENE
14 SCENE_LIST = scenes.SCENE_LIST
15 SCREENS = {
16 'menu': SSMenuScreen,
17 'end': EndScreen,
18 }
19 START_SCREEN = 'menu'
20
21 def game_state_class(self):
22 return SSState
23
24 def game_constants(self):
25 return SSConstants()
26
27
28 def main():
29 ss = SuspendedSentence()
30 return ss.main()