コード例 #1
0
ファイル: clue_view.py プロジェクト: scloew/PyMine
    def __init__(self, clue, parent=None):
        """ Initialize the drone view """
        GridSquareFrame.__init__(self, parent)
        self.clue = clue

        self.adjacencyClue = AdjacencyClueView(clue.adjacencyClue,
                                               clue.fragilityClue,
                                               parent=self)
        self.adjacencyClue.move(45, 5)

        self.warningClue = WeaponCautionClueView(clue.weaponCautionClue,
                                                 parent=self)
        self.warningClue.move(10, 10)