Changeset 48 for trunk/PARPG/scripts


Ignore:
Timestamp:
04/29/09 14:29:28 (11 years ago)
Author:
maximinus_parpg
Message:

All code is to our PEP standard as on the PARPG wiki.
Trivial adjustments to most of the .py files

Location:
trunk/PARPG/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/common/utils.py

    r32 r48  
    1919import os, sys 
    2020 
    21 def add_paths (*paths): 
     21def addPaths (*paths): 
    2222    """ 
    2323    Adds a list of paths to sys.path. Paths are expected to use forward slashes, 
  • trunk/PARPG/scripts/world.py

    r46 r48  
    5656 
    5757    def reset(self): 
     58        """Rest the map to default settings""" 
    5859        self.map, self.agentlayer = None, None 
    5960        self.cameras = {} 
     
    6465 
    6566    def load(self, filename): 
     67        """Load a map given the filename""" 
    6668        self.filename = filename 
    6769        self.reset() 
Note: See TracChangeset for help on using the changeset viewer.