Changeset 48


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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/run.py

    r33 r48  
    1818from scripts.common import utils 
    1919# add paths to the swig extensions 
    20 utils.add_paths ('../../engine/swigwrappers/python', '../../engine/extensions') 
     20utils.addPaths ('../../engine/swigwrappers/python', '../../engine/extensions') 
    2121 
    2222import fife_compat 
  • 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.