def getSafezoneId(self):
     if self.exteriorZoneOverride is not None:
         return self.exteriorZoneOverride
     if hasattr(base, 'cogdoGameSafezoneId'):
         return CogdoGameConsts.getSafezoneId(base.cogdoGameSafezoneId)
     return CogdoGameConsts.getSafezoneId(self.exteriorZone)
Exemple #2
0
 def getSafezoneId(self):
     if self.exteriorZoneOverride is not None:
         return self.exteriorZoneOverride
     if hasattr(base, 'cogdoGameSafezoneId'):
         return CogdoGameConsts.getSafezoneId(base.cogdoGameSafezoneId)
     return CogdoGameConsts.getSafezoneId(self.exteriorZone)
 def getDifficulty(self):
     if self.difficultyOverride is not None:
         return self.difficultyOverride
     if hasattr(base, 'cogdoGameDifficulty'):
         return float(base.cogdoGameDifficulty)
     return CogdoGameConsts.getDifficulty(self.getSafezoneId())
Exemple #4
0
 def getDifficulty(self):
     if self.difficultyOverride is not None:
         return self.difficultyOverride
     if hasattr(base, 'cogdoGameDifficulty'):
         return float(base.cogdoGameDifficulty)
     return CogdoGameConsts.getDifficulty(self.getSafezoneId())