Mercurial > fife-parpg
comparison clients/rio_de_hola/scripts/world.py @ 98:214e3eb81eb2
better structure for techdemo scripts + svn:ignore fixes
author | jasoka@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 21 Jul 2008 13:46:15 +0000 |
parents | 097996ee0b3d |
children | ae3b8139c7c7 |
comparison
equal
deleted
inserted
replaced
97:346738d09188 | 98:214e3eb81eb2 |
---|---|
1 import fife, math, random | 1 import fife, math, random |
2 import pychan | 2 import pychan |
3 import pychan.widgets as widgets | 3 import pychan.widgets as widgets |
4 | 4 |
5 from eventlistenerbase import EventListenerBase | 5 from scripts.common.eventlistenerbase import EventListenerBase |
6 from loaders import loadMapFile | 6 from loaders import loadMapFile |
7 from savers import saveMapFile | 7 from savers import saveMapFile |
8 from hero import Hero | 8 from agents.hero import Hero |
9 from girl import Girl | 9 from agents.girl import Girl |
10 from cloud import Cloud | 10 from agents.cloud import Cloud |
11 from beekeeper import Beekeeper | 11 from agents.beekeeper import Beekeeper |
12 from agent import create_anonymous_agents | 12 from agents.agent import create_anonymous_agents |
13 import settings as TDS | 13 import settings as TDS |
14 | 14 |
15 class MapListener(fife.MapChangeListener): | 15 class MapListener(fife.MapChangeListener): |
16 def __init__(self, map): | 16 def __init__(self, map): |
17 fife.MapChangeListener.__init__(self) | 17 fife.MapChangeListener.__init__(self) |