コード例 #1
0
 def IsClickedByMouse(self, game):
     return self.IsHoverdByMouse() and EventExist(game.Events,
                                                  pygame.MOUSEBUTTONDOWN)
コード例 #2
0
 def EndturnButtonIsClickedByMouse(self, game):
     return self.EndturnButtonIsHoverdByMouse() and EventExist(
         game.Events, pygame.MOUSEBUTTONUP)
コード例 #3
0
 def IsdropDownButtonRectClickedByMouse(self, game):
     return self.IsdropDownButtonRectHoverdByMouse() and EventExist(
         game.Events, pygame.MOUSEBUTTONDOWN)