예제 #1
0
 def exitLoaded(self):
     # destroy the cranes
     for i in range(self.MaxPlayers):
         if self._cranes[i]:
             self._cranes[i].requestDelete()
             self._cranes[i] = None
     DistCogdoLevelGameAI.exitLoaded(self)
예제 #2
0
 def exitLoaded(self):
     for i in range(self.MaxPlayers):
         if self._cranes[i]:
             self._cranes[i].requestDelete()
             self._cranes[i] = None
             continue
     DistCogdoLevelGameAI.exitLoaded(self)
 def exitLoaded(self):
     for i in xrange(self.MaxPlayers):
         if self._cranes[i]:
             self._cranes[i].requestDelete()
             self._cranes[i] = None
             continue
     DistCogdoLevelGameAI.exitLoaded(self)
예제 #4
0
 def exitLoaded(self):
     # destroy the cranes
     for i in range(len(self._moneyBags)):
         if self._moneyBags[i]:
             self._moneyBags[i].requestDelete()
             self._moneyBags[i] = None
     for i in range(CogdoGameConsts.MaxPlayers):
         if self._cranes[i]:
             self._cranes[i].requestDelete()
             self._cranes[i] = None
     DistCogdoLevelGameAI.exitLoaded(self)