コード例 #1
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)
コード例 #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)
コード例 #3
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())
コード例 #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())