Add Nullable to widget dragging methods

The docs say both return null if no item is dragged
This commit is contained in:
dekvall
2019-08-08 00:47:24 +02:00
parent 0c76f473ec
commit 9fe8e8347e

View File

@@ -434,6 +434,7 @@ public interface Client extends GameEngine
* *
* @return the dragged widget, null if not dragging any widget * @return the dragged widget, null if not dragging any widget
*/ */
@Nullable
Widget getDraggedWidget(); Widget getDraggedWidget();
/** /**
@@ -444,6 +445,7 @@ public interface Client extends GameEngine
* *
* @return the dragged on widget, null if not dragging any widget * @return the dragged on widget, null if not dragging any widget
*/ */
@Nullable
Widget getDraggedOnWidget(); Widget getDraggedOnWidget();
/** /**