Exemple #1
0
    def __init__(self, guiObj):
        '''
        '''
        self.savedata = CharSaveData(None)
        
#        self.baseAbilites = {}
#        for x in Abilities.fullList:
#            self.baseAbilites[x] = 3
        
        self._strTab = StrTab()
        self._intTab = IntTab()
        self._conTab = ConTab()
        self._dexTab = DexTab()
        self._wisTab = WisTab()
        self._chaTab = ChaTab()
        
        self._guiObj = guiObj
        
        self._race = Race.createRace("human")
        
        self._class = Class.createClass("fighter")
Exemple #2
0
 def race(self, val):
     self._race = Race.createRace(val)
     self.savedata.race = self._race
     self._guiObj.updateCharAbilities()