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)
Ejemplo n.º 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())
Ejemplo n.º 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())