Add Nullable to widget dragging methods
The docs say both return null if no item is dragged
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user