diff demos/rio_de_hola/scripts/world.py @ 496:987307d12235

Added the fife_settings.py extension. This provides a small utility class for loading and saving settings along with a dialog box for setting screen resolution and other things. Updated the shooter demo and rio_de_hola to use the new settings extension.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 12 May 2010 16:09:46 +0000
parents e29853880e87
children 3dff106b945b
line wrap: on
line diff
--- a/demos/rio_de_hola/scripts/world.py	Tue May 11 21:30:55 2010 +0000
+++ b/demos/rio_de_hola/scripts/world.py	Wed May 12 16:09:46 2010 +0000
@@ -35,9 +35,9 @@
 from agents.cloud import Cloud
 from agents.beekeeper import Beekeeper
 from agents.agent import create_anonymous_agents
-from settings import Setting
+from fife.extensions.fife_settings import Setting
 
-TDS = Setting()
+TDS = Setting(app_name="rio_de_hola")
 
 class MapListener(fife.MapChangeListener):
 	def __init__(self, map):