Improved code readability. Components now aware of what mouse button was clicked.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / gui / humaninput / MouseInteractionController.java
index 9ae1f43..e29f978 100644 (file)
@@ -10,7 +10,7 @@ public interface MouseInteractionController {
      * Called when mouse is clicked on component.
      * @return <code>true</code> if view update is needed as a consequence of this mouse click.
      */
-    boolean mouseClicked();
+    boolean mouseClicked(int button);
 
     /**
      * Called when mouse gets over given component.