diff gamelib/main.py @ 655:c77d6aa29bee pyntnclick

Some code to kinda demonstrate the ever so cunning state handling plan
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 12 Feb 2012 13:56:59 +0200
parents 974cc69d3762
children 4f34b36ee7c5
line wrap: on
line diff
--- a/gamelib/main.py	Sun Feb 12 13:11:53 2012 +0200
+++ b/gamelib/main.py	Sun Feb 12 13:56:59 2012 +0200
@@ -2,6 +2,7 @@
 
 from menu import MenuScreen
 from endscreen import EndScreen
+from ss_state import SSState
 
 from pyntnclick.main import GameDescription
 
@@ -16,6 +17,9 @@
             }
     START_SCREEN = 'menu'
 
+    def __init__(self):
+        super(SuspendedSentence, self).__init__(SSState)
+
 
 def main():
     ss = SuspendedSentence()