예제 #1
0
 def b_incrementObjective(self, quest):
     QuestManagerBase.incrementObjective(self, quest)
     self.avatar.d_incrementQuestObjective(quest.getID())
     if quest.getCurrentObjective().finished():
         self.setCurrentObjective(quest, quest.getNextObjective())
예제 #2
0
 def __init__(self, air, avatar):
     QuestManagerBase.__init__(self)
     self.avatar = avatar
 def makeQuestsFromData(self):
     QuestManagerBase.makeQuestsFromData(self, self.avatar)
 def cleanup(self):
     QuestManagerBase.cleanup(self)
     del self.avatar
 def __init__(self, avatar):
     QuestManagerBase.__init__(self, avatar)
 def incrementObjective(self, questId):
     QuestManagerBase.incrementObjective(self, self.getQuestByID(questId))
 def __init__(self, cr):
     QuestManagerBase.__init__(self)
     self.quests.append(QuestBank.getQuests()[0])