Changeset 48 for trunk/PARPG/scripts
- Timestamp:
- 04/29/09 14:29:28 (11 years ago)
- Location:
- trunk/PARPG/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PARPG/scripts/common/utils.py
r32 r48 19 19 import os, sys 20 20 21 def add _paths (*paths):21 def addPaths (*paths): 22 22 """ 23 23 Adds a list of paths to sys.path. Paths are expected to use forward slashes, -
trunk/PARPG/scripts/world.py
r46 r48 56 56 57 57 def reset(self): 58 """Rest the map to default settings""" 58 59 self.map, self.agentlayer = None, None 59 60 self.cameras = {} … … 64 65 65 66 def load(self, filename): 67 """Load a map given the filename""" 66 68 self.filename = filename 67 69 self.reset()
Note: See TracChangeset
for help on using the changeset viewer.