From a923135e79725ab79434f5c53f3fdf63e990a8af Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Wed, 15 May 2019 11:57:39 +0200 Subject: [PATCH] Improved comment for clicked() in BasicGUIComponent --- LogicUI/src/era/mi/components/gui/BasicGUIComponent.java | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.17.1