Changeset 90 for trunk/PARPG/scripts


Ignore:
Timestamp:
06/05/09 04:11:32 (11 years ago)
Author:
bretzel_parpg
Message:

Added a few comments and changed the text on the set to defaults button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/hud.py

    r89 r90  
    22 
    33"""Import all necessary modules""" 
     4import shutil 
    45import fife 
    56import pychan 
    67from pychan.tools import callbackWithArguments as cbwa 
    7 import shutil 
    88 
    99"""Main Hud class""" 
     
    8383 
    8484    def setToDefaults(self): 
     85        """ Reset all the options to the options in settings-dist.xml """ 
    8586        shutil.copyfile('settings-dist.xml', 'settings.xml') 
    8687        self.requireRestartDialog() 
     
    195196        """ 
    196197        Set the HP display on the HUD to value 
    197         NOTE: This does not in any way affect the character's actual health, only 
    198               what is displayed on the HUD 
     198        NOTE: This does not in any way affect the character's actual health, only what is displayed on the HUD 
    199199        """ 
    200200        self.hp.text = value 
Note: See TracChangeset for help on using the changeset viewer.