def delete(self):
        BattleAvatarGameFSM.delete(self)
        self.av.creature = None
        if self.submergeIval:
            self.submergeIval.finish()
            self.submergeIval = None

        if self.emergeIval:
            self.emergeIval.finish()
            self.emergeIval = None
 def delete(self):
     BattleAvatarGameFSM.delete(self)
     self.av.creature = None
     if self.submergeIval:
         self.submergeIval.finish()
         self.submergeIval = None
     
     if self.emergeIval:
         self.emergeIval.finish()
         self.emergeIval = None
 def __init__(self, av):
     BattleAvatarGameFSM.__init__(self, av)
     self.submergeIval = None
     self.emergeIval = None
 def exitSpawn(self):
     BattleAvatarGameFSM.exitSpawn(self)
 def enterSpawn(self, extraArgs = []):
     BattleAvatarGameFSM.enterSpawn(self, extraArgs)
 def exitLandRoam(self):
     BattleAvatarGameFSM.exitLandRoam(self)
 def enterLandRoam(self, extraArgs = []):
     BattleAvatarGameFSM.enterLandRoam(self, extraArgs)
Exemple #8
0
 def enterLandRoam(self, extraArgs=[]):
     BattleAvatarGameFSM.enterLandRoam(self, extraArgs)
 def exitDeath(self):
     BattleAvatarGameFSM.exitDeath(self)
 def __init__(self, av):
     BattleAvatarGameFSM.__init__(self, av)
     self.submergeIval = None
     self.emergeIval = None
Exemple #11
0
 def __init__(self, av, fsmName='PlayerPirateGameFSM'):
     BattleAvatarGameFSM.__init__(self, av, fsmName)
Exemple #12
0
 def exitDeath(self):
     BattleAvatarGameFSM.exitDeath(self)
Exemple #13
0
 def enterDeath(self, extraArgs=[]):
     BattleAvatarGameFSM.enterDeath(self, extraArgs)
Exemple #14
0
 def exitSpawn(self):
     BattleAvatarGameFSM.exitSpawn(self)
Exemple #15
0
 def enterSpawn(self, extraArgs=[]):
     BattleAvatarGameFSM.enterSpawn(self, extraArgs)
Exemple #16
0
 def exitLandRoam(self):
     BattleAvatarGameFSM.exitLandRoam(self)
 def enterDeath(self, extraArgs = []):
     BattleAvatarGameFSM.enterDeath(self, extraArgs)
 def enterOff(self, extraArgs = []):
     BattleAvatarGameFSM.enterOff(self, extraArgs)
 def __init__(self, av, fsmName = 'PlayerPirateGameFSM'):
     BattleAvatarGameFSM.__init__(self, av, fsmName)
Exemple #20
0
 def enterOff(self, extraArgs=[]):
     BattleAvatarGameFSM.enterOff(self, extraArgs)