X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2Fhumaninput%2FMouseInteractionController.java;h=e29f978dcf866587092c8525925ca7f536ac35db;hb=a377e3094d304bbc815b36edc2eb303ec023ea48;hp=708ed1eaa4680e31d3aadbaeb7b55f5ff875b205;hpb=197ac1b87328bb5b06ba52d3768af04b2007b087;p=sixth-3d.git diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java index 708ed1e..e29f978 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/humaninput/MouseInteractionController.java @@ -1,10 +1,7 @@ /* * Sixth 3D engine. Author: Svjatoslav Agejenko. * This project is released under Creative Commons Zero (CC0) license. - * -* */ - package eu.svjatoslav.sixth.e3d.gui.humaninput; public interface MouseInteractionController { @@ -13,7 +10,7 @@ public interface MouseInteractionController { * Called when mouse is clicked on component. * @return true 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.