def getSafezoneId(self): if self.exteriorZoneOverride is not None: return self.exteriorZoneOverride elif hasattr(base, 'cogdoGameSafezoneId'): return CogdoGameConsts.getSafezoneId(base.cogdoGameSafezoneId) else: return CogdoGameConsts.getSafezoneId(self.exteriorZone)
def getSafezoneId(self): if self.exteriorZoneOverride is not None: return self.exteriorZoneOverride if hasattr(self.air, 'cogdoGameSafezoneId'): return CogdoGameConsts.getSafezoneId(self.air.cogdoGameSafezoneId) return CogdoGameConsts.getSafezoneId(self.exteriorZone)
def setDifficultyOverrides(self, difficultyOverride, exteriorZoneOverride): self.difficultyOverride = difficultyOverride if self.difficultyOverride is not None: self.difficultyOverride = CogdoGameConsts.QuantizeDifficultyOverride( difficultyOverride) self.exteriorZoneOverride = exteriorZoneOverride
def getDifficulty(self): if self.difficultyOverride is not None: return self.difficultyOverride elif hasattr(base, 'cogdoGameDifficulty'): return float(base.cogdoGameDifficulty) else: return CogdoGameConsts.getDifficulty(self.getSafezoneId())
def getDifficulty(self): if self.difficultyOverride is not None: return self.difficultyOverride if hasattr(self.air, 'cogdoGameDifficulty'): return float(self.air.cogdoGameDifficulty) return CogdoGameConsts.getDifficulty(self.getSafezoneId())
def getSafezoneId(self): return CogdoGameConsts.getSafezoneId(self.exteriorZone)
def getDifficulty(self): return CogdoGameConsts.getDifficulty(self.getSafezoneId())