Пример #1
0
 public static TKMouseButton GetMouse(MouseButton mouse)
 {
     return(MouseButtonMap[(int)mouse]);
 }
Пример #2
0
 /// <inheritdoc />
 public bool IsMouseClicked(MouseButton button)
 {
     return(_gameWindow.IsMouseButtonPressed(MouseButtonMap[(int)button]));
 }
Пример #3
0
 /// <inheritdoc />
 public bool IsMouseUp(MouseButton button)
 {
     return(_gameWindow.IsMouseButtonReleased(MouseButtonMap[(int)button]));
 }
Пример #4
0
 /// <inheritdoc />
 public bool IsMouseDown(MouseButton button)
 {
     return(_gameWindow.IsMouseButtonDown(MouseButtonMap[(int)button]));
 }