From 8257eb0c02751482f7f2af71bf73948b8fcfe3af Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Mon, 1 Jun 2026 17:32:58 +0200 Subject: [PATCH] docs(command): update UseCommand javadoc for the combination form --- .../thb/jeanluc/adventure/command/impl/UseCommand.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java b/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java index ec9950d..3f08406 100644 --- a/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java +++ b/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java @@ -9,9 +9,10 @@ import java.util.List; import java.util.Optional; /** - * Invokes the item-specific {@link Item#use(GameContext)} action. The - * item must either be in the player's inventory or in the current room. - * Usage: {@code use }. + * With one argument, invokes the item-specific {@link Item#use(GameContext)} + * action; the item must be in the player's inventory or the current room. + * With two arguments ({@code use on }), delegates to the + * combination engine. Usage: {@code use } or {@code use on }. */ public class UseCommand implements Command {