From: Daniel Kirschten Date: Wed, 15 May 2019 09:57:39 +0000 (+0200) Subject: Improved comment for clicked() in BasicGUIComponent X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=2b0da6fe9cf595da828ad4465b2a16aa7509b180;p=Mograsim.git Improved comment for clicked() in BasicGUIComponent --- diff --git a/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java b/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java index db586a23..47479b17 100644 --- a/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java +++ b/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java @@ -18,6 +18,7 @@ public interface BasicGUIComponent public Rectangle getBounds(); /** * Called when this component is clicked. Relative coordinates of the click are given. + * Returns true if this component has to be redrawn. */ public default boolean clicked(double x, double y) {