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=a923135e79725ab79434f5c53f3fdf63e990a8af;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 54384b9f..a7212f98 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) {