diff gamelib/main.py @ 20:177e3a7825e8

Add constants file
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 22 Aug 2010 17:07:46 +0200
parents 55f1969e41c9
children 9d5de13e2ac3
line wrap: on
line diff
--- a/gamelib/main.py	Sun Aug 22 17:07:01 2010 +0200
+++ b/gamelib/main.py	Sun Aug 22 17:07:46 2010 +0200
@@ -11,6 +11,7 @@
 from albow.dialogs import alert
 from albow.shell import Shell
 from menu import MenuScreen
+from constants import SCREEN
 
 class MainShell(Shell):
     def __init__(self, display):
@@ -20,7 +21,7 @@
 
 def main():
     pygame.init()
-    display =  pygame.display.set_mode((800, 600))
+    display =  pygame.display.set_mode(SCREEN)
     shell = MainShell(display)
     shell.run()