Capture all mouse events and take into account mouse attributes, fixes #58

This commit is contained in:
Yohann D'ANELLO
2021-01-08 11:21:40 +01:00
parent b42f1277b1
commit 75e93611c3
7 changed files with 27 additions and 21 deletions

View File

@ -187,12 +187,11 @@ class Display:
"""
raise NotImplementedError
def handle_click(self, y: int, x: int, game: Game) -> None:
def handle_click(self, y: int, x: int, attr: int, game: Game) -> None:
"""
A mouse click was performed on the coordinates (y, x) of the pad.
Maybe it should do something.
"""
pass
@property
def rows(self) -> int: