diff gamelib/main.py @ 732:4f34b36ee7c5 pyntnclick

Add constants subclass to gamelib, and get the title + icon from it
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 15 Jan 2013 23:15:11 +0200
parents c77d6aa29bee
children ef4bda7d623d
line wrap: on
line diff
--- a/gamelib/main.py	Tue Jan 15 22:57:41 2013 +0200
+++ b/gamelib/main.py	Tue Jan 15 23:15:11 2013 +0200
@@ -1,5 +1,6 @@
 import scenes
 
+from constants import SSConstants
 from menu import MenuScreen
 from endscreen import EndScreen
 from ss_state import SSState
@@ -20,6 +21,9 @@
     def __init__(self):
         super(SuspendedSentence, self).__init__(SSState)
 
+    def game_constants(self):
+        return SSConstants()
+
 
 def main():
     ss = SuspendedSentence()