コード例 #1
0
ファイル: level_details_view.py プロジェクト: scloew/PyMine
 def updateRatingsLabel(self):
     """ Update the Ratings Label """
     self.ratingsLabel.move(32, 48+32*(len(self.levelSelection.getLevel().defenses)+3))
     
     text = ""
     if CURRENT_PROFILE.completedLevel(self.levelSelection.getLevel()):
         text += "C"
     if CURRENT_PROFILE.acheivedMoveAwardOnLevel(self.levelSelection.getLevel()):
         text += "M"
     if CURRENT_PROFILE.acheivedPowerAwardOnLevel(self.levelSelection.getLevel()):
         text += "P"
     self.ratingsLabel.setText(text)