Updated readability of the code.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / gui / humaninput / MouseInteractionController.java
index 708ed1e..d5f1f08 100644 (file)
@@ -1,19 +1,19 @@
 /*
  * Sixth 3D engine. Author: Svjatoslav Agejenko. 
  * This project is released under Creative Commons Zero (CC0) license.
- *
-*
  */
-
 package eu.svjatoslav.sixth.e3d.gui.humaninput;
 
+/**
+ * Interface that allows to handle mouse events.
+ */
 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.